Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [RT #36079] Convert ` to '. | jkeenan | 2011-11-22 | 1 | -1/+1 |
| | |||||
* | Break out the test for #72922 into a new test file. | Nicholas Clark | 2011-02-21 | 1 | -62/+1 |
| | | | | Skip the new t/re/qr-72922.t under minitest. | ||||
* | Replaced 'unlink' with 'unlink_all' in t/re/qr.t | Brad Gilbert | 2010-12-08 | 1 | -1/+1 |
| | |||||
* | Add missing bug numbers | Father Chrysostomos | 2010-09-20 | 1 | -1/+1 |
| | |||||
* | Add tests for 72922. | Bram | 2010-09-13 | 1 | -1/+62 |
| | | | | Check that a Regex object which was previous copied and weaken'ed can be used in another pattern. | ||||
* | fix qr// and get-magic problems | Father Chrysostomos | 2010-01-19 | 1 | -1/+11 |
| | | | | | [N.B. I converted package name separators from q{'} to q{::} in the test files as suggested by demerphq. -- dagolden] | ||||
* | [perl #70764] $' fails to initialized for pre-compiled regular expression ↵ | Father Chrysostomos | 2009-12-14 | 1 | -1/+61 |
| | | | | | | | | | | | | | | | | | | | matches The match vars are associated with the regexp that last matched successfully. In the case of $str =~ $qr or /$qr/, since the $qr could be used in multiple scopes that need their own sets of match vars, the $qr is cloned by Perl_reg_temp_copy as of change 30677/28d8d7f. This happens in pp_regcomp before pp_match has stringified the LHS, hence the bug. In short, /$gror/ is not equivalent to ($which = !$which) ? /$gror/ : /$gror/, which is weird. Attached is a patch, which admittedly is a hack, but fixes this particular side effect of what is probably a bad design, by stringifying the LHS in pp_regcomp, and having pp_match skip get-magic in such cases. A real fix far exceeds my capabalities, and would also be very intrusive according to <http://www.nntp.perl.org/group/perl.perl5.porters/2007/03/msg122415.html>. | ||||
* | move regex related tests out of t/op/ into t/re/ | Yves Orton | 2009-09-10 | 1 | -0/+13 |