in reply to Regex trouble w/ embedded 0s?

The dot doesn't match the lineflush (0x0A) character unless you use the /s modifier. Just add it and your code will work :)

Replies are listed 'Best First'.
Re^2: Regex trouble w/ embedded 0s?
by roboticus (Chancellor) on Jul 10, 2014 at 22:29 UTC

    Eily:

    Thanks! I know it had to be something dumb, but I just *couldn't* find it.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.