14.04.2015, 21:54
(
Последний раз редактировалось Misiur; 14.04.2015 в 22:24.
)
Gotta find some nl2br. If anyone regexes here I'd be grateful if we could fix that.
Idea:
Almost, but only matches last line... Shame that it doesn't support perl syntax. I'm out for 12 hours now.
Idea:
Код:
content.replace( /(\[(code|pawn)\])((.*)(\n)(.*))*(\[\/(code|pawn)\])/igm, ??? )

