List Info

Thread: Some regex expressions not working in certain search tools




Some regex expressions not working in certain search tools
user name
2006-05-17 14:11:46
I have been experimenting with regular expressions in the
"search"
dialogs of two different text editors/search utilities that
supposedly
support regular expressions (Visual Studio 2005 and GREP for
windows),
and I cannot get either of them to recognize certain
expressions.

Here is an example:

I cannot get either application (GREP or VS2005) to
recognize the
following expression:
     \d

Although both tools will recognize :
   [0-9][0-9][0-9][0-9]

Backreferences are not working either.
I'm trying to indicate a backreference (to reference the
first group in
a regex) as follows:
     \1

Are these limitations of the tools I'm using, or is there
some special
syntax that these tools require?

Can someone shed some light on the situation?

Thanks,
Jonathan


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Regex" group.
To post to this group, send email to regexgooglegroups.com
To unsubscribe from this group, send email to
regex-unsubscribegooglegroups.com
For more options, visit this group at http://groups.go
ogle.com/group/regex
-~----------~----~----~----~------~----~------~--~---

Some regex expressions not working in certain search tools
user name
2006-05-17 15:36:43
the regex I sent u in the prev thread was actually tested OK
in VStudio
(using backreference)

shoe your code in VStudio, is it C# (I hope)?

Sergei


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Regex" group.
To post to this group, send email to regexgooglegroups.com
To unsubscribe from this group, send email to
regex-unsubscribegooglegroups.com
For more options, visit this group at http://groups.go
ogle.com/group/regex
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )