Closed GoogleCodeExporter closed 9 years ago
With PCRE regex need to put (?s) in your pattern to tell regex to span lines,
preferably at the start, e.g. (?s)<style.*<\/style>
But that will match everything from the first style to the last because its
greedy. You also need to turn on minimal/non-greedy matching with ? after your
pattern, e.g. (?s)<style.*?<\/style>
Original comment by meme90...@gmail.com
on 9 Jan 2012 at 8:05
Original comment by john@nachtimwald.com
on 9 Jan 2012 at 12:48
Original issue reported on code.google.com by
alexande...@gmail.com
on 9 Jan 2012 at 5:26