in reply to code within a regular expression
$_ = "lothlorien"; m/ (?{ $i = 0 }) (. (?{ $i++ }) )*? #### * greedy, *? not greedy lori /x; die $i, $i;
| ______crazyinsomniac_____________________________ Of all the things I've lost, I miss my mind the most. perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;" |
|
|---|