in reply to Can't quite get this regex working
You could either use /\Q[[$tag_name]]\E((.|\n)*?)\[/) or add a modifier to the regex so that '.' matches '\n' as well, I think it was m or s
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can't quite get this regex working
by GrandFather (Saint) on Apr 08, 2011 at 11:30 UTC | |
by moritz (Cardinal) on Apr 08, 2011 at 11:41 UTC | |
by JavaFan (Canon) on Apr 08, 2011 at 11:50 UTC | |
by ultranerds (Hermit) on Apr 08, 2011 at 11:37 UTC | |
|
Re^2: Can't quite get this regex working
by ultranerds (Hermit) on Apr 08, 2011 at 11:20 UTC |