Hi, gambas is new to me, but regex is not so new. But I am baffled with the following result:
str = "A#BB##CCC###" print RegExp.Replace(str, "[#]+", ";") A;BB;;CCC;;; str = "A#BB##CCC###" print RegExp.Replace(str, "[#][#]*", ";") A;BB;;CCC;;; str = "A#BB##CCC###" print RegExp.Replace(str, "##**", ";") A;BB;;CCC;;; In my opinion, in every example above the result should be: A;BB;CC Nevertheless, gambas always displays A;BB;CCC;;;. Am I missing something,, or does gambas has a bug in this point? -- 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 <%2837%29%2099988-8868> Wickr ID: fernandocabral WhatsApp: +55 (37) 99988-8868 <%2837%29%2099988-8868> Skype: fernandojosecabral Telefone fixo: +55 (37) 3521-2183 <%2837%29%203521-2183> Telefone celular: +55 (37) 99988-8868 <%2837%29%2099988-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