Use of compile flags in regular expressions.

2012-07-19 Thread Steven W. Orr
I have a problem that I'm solving using a regex. (Yeah, I know, now I have two problems...) ;-) Anyways, the regex is about a couple of pages long and it works just peachy. There's just one thing I'd like to do to make it more elegant. I need to compile the regex with MULTILINE and DOTALL.

Re: Use of compile flags in regular expressions.

2012-07-19 Thread MRAB
On 19/07/2012 15:22, Steven W. Orr wrote: I have a problem that I'm solving using a regex. (Yeah, I know, now I have two problems...) ;-) Anyways, the regex is about a couple of pages long and it works just peachy. There's just one thing I'd like to do to make it more elegant. I need to