[Israel.pm] RegEx in HTML Character
Georges EL OJAIMI
G-OJAIMI at cyberia.net.lb
Tue Jan 29 11:30:11 PST 2008
I want to benefit from this feature but I don't want to install this
module, is there a workaround to implement this using only RegEx parameters?
Yitzchak Scott-Thoennes wrote:
> On Mon, January 28, 2008 9:00 pm, Yona Shlomo wrote:
>> You can try the following hack, but it is risky:
>> s/\[([^\[\]]+)\]/<\1>/g; s,<url(="[^"]+")>([^<]+)</url>,<a
>> See, the above regular expressions do not try to balance
>> your markup's open and close tags, nor are aware of whitespace issues,
>> quotations and escaping.
> http://search.cpan.org/perldoc/HTML::BBCode may be of use?
> Perl mailing list
> Perl at perl.org.il
More information about the Perl