Regex works fine -- Thank you.
B.Regards, Alex > Sent: Tuesday, August 02, 2016 at 3:17 PM > From: "Colomban Wendling" <[email protected]> > To: "Geany general discussion list" <[email protected]> > Subject: Re: [Geany-Users] Regular expression, for Unicode characters > > Le 31/07/2016 à 15:19, Vesta a écrit : > > Can anyone show how should look regular expression for this particular case? > > This will work: > > (<p)(>[^[:lower:]]*[[:upper:]][^[:lower:]]*</p>) > > It matches any *but* lowercase, then one upper character, then anything > *but* lower characters. Using "not lowercase" is useful to allow > punctuation and digits. > > if you're interested in supporting uppercase <p> tags, you'll need to > make quantifiers ungreedy too: > > (<[pP])(>[^[:lower:]]*?[[:upper:]][^[:lower:]]*?</[pP]>) > > Cheers, > Colomban > _______________________________________________ > Users mailing list > [email protected] > https://lists.geany.org/cgi-bin/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] https://lists.geany.org/cgi-bin/mailman/listinfo/users
