jamadden / mrab-regex-hg

Automatically exported from code.google.com/p/mrab-regex-hg
0 stars 2 forks source link

strange results from regex.search #100

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1.regex.search('^([^z]*(?:WWWi|W))?$','WWWi').groups()
fails while following searches give results
2.regex.search('^([^z]*(?:WWWi|w))?$','WWWi').groups()
3.regex.search('^([^z]*?(?:WWWi|W))?$','WWWi').groups()

What is the expected output? What do you see instead?
all searches should give results

What version of the product are you using? On what operating system?
2.4.35 on Windows7, python 2.7.2 32bit

Please provide any additional information below.

Original issue reported on code.google.com by grzegorz...@gmail.com on 29 Nov 2013 at 7:37

GoogleCodeExporter commented 9 years ago
Fixed in regex 2013-11-29.

Original comment by re...@mrabarnett.plus.com on 29 Nov 2013 at 8:16