[perl #113884] [BUG] Constant interpolation into regexes does not participate in LTM

2015-09-24 Thread jn...@jnthn.net via RT
On Thu Jun 28 08:14:23 2012, moritz wrote: > < TimToady> oh, wait > < TimToady> Variable matches are considered declarative if and only if > the variable > < TimToady> is known to represent a constant > < TimToady> nr: constant $x = 'ab'; say ('ab' ~~ / a | b | $x /).Str > <+p6eval> rakudo 88a9d6

[perl #113884] [BUG] Constant interpolation into regexes does not participate in LTM

2015-07-09 Thread Will Coleda via RT
On Thu Jun 28 08:14:23 2012, moritz wrote: > < TimToady> oh, wait > < TimToady> Variable matches are considered declarative if and only if > the variable > < TimToady> is known to represent a constant > < TimToady> nr: constant $x = 'ab'; say ('ab' ~~ / a | b | $x /).Str > <+p6eval> rakudo 88a9d6