Related articles |
---|
regular expressions "[X0-9][0-9]{4}" and "[0-9X][0-9]{4}" not equiv ohoehle@hotmail.com (2003-02-21) |
From: | ohoehle@hotmail.com (Oliver Hoehle) |
Newsgroups: | comp.compilers |
Date: | 21 Feb 2003 01:15:12 -0500 |
Organization: | http://groups.google.com/ |
Keywords: | lex, question |
Posted-Date: | 21 Feb 2003 01:15:12 EST |
Hello!
IMHO, the regular expressions should be equivalent, but Jakarta-RegExp
1.2 does not think so.
For example: RegExp will tell me that the string "X1234" matched only
the second expression....;-(
Whats going wrong?
Regards Oliver
[Looks OK to me. Any chance you mistyped something? -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.