in reply to Re^2: Regex question - either starts, or has newline prefixing?
in thread Regex question - either starts, or has newline prefixing?

Sorry, that's because there's a typo in my code :-(

This

{(?x}

Should have been this

{(?x)

Cheers,

JohnGG