| sabakas | now thats the reason I don't like interpreters asm rules |
| f00li5h | sabakas: interpreters? why? because you do what you tell them? |
| CaT[tm] | wtf? |
| aSmig | eval: [ "123456\nfooweebar\n654321" =~ /.*foo(.*)bar$.*/ ] |
| buubot | aSmig: ['wee'] |
| aSmig | eval: [ "123456\nfooweebar\n654321" =~ /.*foo(.*)bar\$.*/ ] |
| buubot | aSmig: [] |
| Woosta | f00li5h: we're not there yet eval: $.='X'; ["fooZAPbarZAP" =~ /.*foo(.*)bar$.*/] |
| buubot | Woosta: ['ZAP'] |
| f00li5h | Woosta: hrm? |
| Woosta | Oh ignore me .. * |
| CaT[tm] | eval: [ "blablabla\nfooblabar\nblablabar\nmoo" =~ /.*foo(.*)bar(?:$).*/ ] |
| buubot | CaT[tm]: [] |
| Woosta | eval: $.='X'; ["fooZAPbarZAP" =~ /.*foo(.*)bar$.+/] |
| f00li5h | Woosta: done. |
| buubot | Woosta: [] |
| sabakas | there is no ambiguity in: mov ax,0 |
| f00li5h | use /x |
| Woosta | ^^ now it's looking for 1 or more 'X' .. there is none |
| f00li5h | then you can stuff it with whitespace |
| Woosta | eval: $.=''; ["fooZAPbarZAP" =~ /.*foo(.*)bar$.+/] |
| buubot | Woosta: ['ZAP'] |
| dec | what has $. got to do with anything there? |
| Woosta | ^^ when $. is nothing, it works .. coz there is 1 or more 'r' |
| f00li5h | dec: because $. gets interpolated |
| Woosta | dec: it's interpolated in |
| dec | ah I see :) |
| CaT[tm] | dec: $. evals to nothing, hence bar$.* becomes bar* |
| f00li5h | just use /x already |
| dec | ^^ indeed |
| f00li5h | eval: print qr/ .* foo (.*) bar$ .*/x |
| buubot | f00li5h: (?x-ism: .* foo (.*) bar$ .*) 1 |
| Woosta | f00li5h: we sorted the original problem .. I'm just trying to explain why what he had appeared to work |
| f00li5h | Woosta: i wondered why we were still taking about this. |
| Woosta | [22:27] <Woosta> I believe that it appears to be giving you the answer you want .. I don't believe it's working like it looks though |