On 24/09/2005, at 14.02, José Campos wrote:
keep the escape characters from previous syntax, except \n
Because majority of them really makes no sense. Like vertical tab,
-- let me know
if I need to add others.
At least you kept the Character classes?
This is the _replace_ string syntax.
Also, the new
syntax btw also support \l and \u (for changing case
first letter), where I think the old contains only \L and \U --
\U \u \L or \l
do not seem to work correctly in the "find" box
work in the "replace" box)
Yes, I was speaking of the replace string syntax. The actual regexp
syntax is now that of Oniguruma , since that's the library I use
-- it means a few things are now gone, like these, but you can use
[[:upper:]] and [[:lower:]], conditions (in searches, not
replacements), \< and \> (but there's still \b), (?s) is now (?m), (?
R) recursion, but there's the (much better) subexp calls, and
probably a few more subtleties.
On the bright side there's also many advantages of Oniguruma, and
there was just no way I could find time to fix up my own regexp lib.
And, in the older versions, when "Regular
the "Find options" box, the other choices ("Ignore case" and
around") were not available. In this version, they are. Is it a
Yes, it's in the release notes -- though wrap around was always
possible with regexps.