[Mono-list] Regex dosen't recognize \s or \w ?

Agustin Gimenez geniwab at gmail.com
Wed Feb 4 18:49:44 UTC 2015


Not sure if that's a bug or not, but you can perfectly use " *?" to search
for zero or more spaces (I always try to use lazy search when possible, if
that's not your case remove the question mark after star), I have put that
inside quotes to denote the space before the star.

Cheers.

2015-02-04 16:03 GMT+01:00 mickeyf <mickey at thesweetoasis.com>:

> I am using Monodevelop 3.0.3.2,  with mono runtime 2.10.8.1 on Ubuntu 12.04
>
> When I try to include \s or \w in my regex, I get 'Unrecognized escape
> sequence', Otherwise regex works as I'd expect. (But I freely admit to
> having limited experience with regex.)
>
> What have I missed? Or if \s is not available, how do I specify "zero or
> more spaces" ?
>
>
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/Regex-dosen-t-recognize-s-or-w-tp4665410.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20150204/fc270bdf/attachment.html>


More information about the Mono-list mailing list