Concerning RegExp I have another mysterious thing to understand If I do something like:
*Searchfor.Push("Word")Searchfor.Push("Power")Searchfor.Push("The same")For Each searchedfor In searchfor re.Compile(searchedfor, re.utf8)Next* The expression gest compiled. No error. Neverthelesse, if I the same words from a file, using this expression: *Dim Searchfor As New String[] = Split(File.Load("Strings"), "\n")* re.Compile will not work. It will display an error message saying there is nothing to compile. Now, if I do: *print "@" & Searchfor[n] &"@\n"* in both cases I will see precisely the same output. I can't distinguish one from the other. So, why it compiles in the first case, but does not in the second? This is the mystery I must solve with a little help from a good soul out there. - fernando -- Fernando Cabral Blogue: http://fernandocabral.org Twitter: http://twitter.com/fjcabral e-mail: fernandojosecab...@gmail.com Facebook: f...@fcabral.com.br Telegram: +55 (37) 99988-8868 Wickr ID: fernandocabral WhatsApp: +55 (37) 99988-8868 Skype: fernandojosecabral Telefone fixo: +55 (37) 3521-2183 Telefone celular: +55 (37) 99988-8868 Enquanto houver no mundo uma só pessoa sem casa ou sem alimentos, nenhum político ou cientista poderá se gabar de nada. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user