[Issue 16251] regex - `(..).*\1` doesn't match "axxxx"

2017-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16251

Dmitry Olshansky  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #7 from Dmitry Olshansky  ---


*** This issue has been marked as a duplicate of issue 15489 ***

--


[Issue 16251] regex - `(..).*\1` doesn't match "axxxx"

2017-08-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16251

--- Comment #6 from Dmitry Olshansky  ---
(In reply to Vladimir Panteleev from comment #5)
> There are some backreference tests here:
> 
> https://github.com/dlang/phobos/blob/master/std/regex/internal/tests.d#L310-
> L315

Backreference should be fully supported. 

However instead it supported a subset of all possible backreferences, until now
I postponed the issue as not blocking most practical uses of backreferences.

--


[Issue 16251] regex - `(..).*\1` doesn't match "axxxx"

2016-12-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16251

--- Comment #5 from Vladimir Panteleev  ---
There are some backreference tests here:

https://github.com/dlang/phobos/blob/master/std/regex/internal/tests.d#L310-L315

--


[Issue 16251] regex - `(..).*\1` doesn't match "axxxx"

2016-12-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16251

Vladimir Panteleev  changed:

   What|Removed |Added

   Assignee|nob...@puremagic.com|dmitry.o...@gmail.com

--


[Issue 16251] regex - `(..).*\1` doesn't match "axxxx"

2016-12-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16251

--- Comment #4 from Vladimir Panteleev  ---
Strange. Well, it works for simpler cases, so it's either an unfinished
feature, or an undocumented and buggy one.

--


[Issue 16251] regex - `(..).*\1` doesn't match "axxxx"

2016-12-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16251

greenify  changed:

   What|Removed |Added

 CC||greeen...@gmail.com

--- Comment #3 from greenify  ---
> What makes you say that?

That it's not part of the documentation?

https://dlang.org/phobos/std_regex.html

--


[Issue 16251] regex - `(..).*\1` doesn't match "axxxx"

2016-07-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16251

--- Comment #2 from Vladimir Panteleev  ---
(In reply to TJ Ryan from comment #1)
> The regex module doesn't appear to
> currently support any context sensitive tokens.

What makes you say that?

--


[Issue 16251] regex - `(..).*\1` doesn't match "axxxx"

2016-07-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16251

TJ Ryan  changed:

   What|Removed |Added

 CC||tjfr...@outlook.com

--- Comment #1 from TJ Ryan  ---
The \1 token isn't context free.  The regex module doesn't appear to currently
support any context sensitive tokens.

--


[Issue 16251] regex - `(..).*\1` doesn't match "axxxx"

2016-07-07 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16251

Vladimir Panteleev  changed:

   What|Removed |Added

 CC||dmitry.o...@gmail.com

--