Home Download Buy Blog Forum Support

Bug? Using \p{...} in Find Regular Expression

Bug? Using \p{...} in Find Regular Expression

Postby richardcox13 on Fri Nov 23, 2012 6:41 pm

Just been try to find non-decimal numeric code points in the Unicode.txt file from http://unicode.org.

Thus I wanted to search for
Code: Select all
;N\p{Ll}
(semi-colon, "N" and a lowercase letter).

But I couldn't get that to work, according to http://docs.sublimetext.info/en/latest/ ... rview.html (which I know is unofficial, but there doesn't seem to be anything better) Sublime Text uses Boost regexes (http://www.boost.org/doc/libs/1_47_0/li ... yntax.html). This suggests the above should work and that
Code: Select all
;N\p{lower}
also would, but it doesn't.

What is the status of
Code: Select all
\p…
in regular expressions in Sublime Text 2?
--
Richard
richardcox13
 
Posts: 3
Joined: Sat Oct 06, 2012 2:49 pm
Location: UK

Re: Bug? Using \p{...} in Find Regular Expression

Postby quarnster on Fri Nov 23, 2012 6:54 pm

Works fine for me with 2219. Did you enable regular expression search?
quarnster
 
Posts: 389
Joined: Tue Nov 29, 2011 11:34 am

Re: Bug? Using \p{...} in Find Regular Expression

Postby richardcox13 on Fri Nov 23, 2012 11:18 pm

I certainly did enable regex search (not having case sensitive on lead to matching upper case initially).

I'm on build 2217, maybe this is a fix pending general release?
--
Richard
richardcox13
 
Posts: 3
Joined: Sat Oct 06, 2012 2:49 pm
Location: UK


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 19 guests