[EMAIL PROTECTED]:
# Just read (skimmed) apocalypse 5, had one concern - it looks 
# like we are on a serious collision course with parsing the 
# various *mls.
# 
# before:
# 
# m#<a href="a"><img src="sss"><!banner>..etc#
# 
# after
# 
# m#\<a\ href="a"\>\<img\ src="sss"\>\<!banner\>#

That's intentional.  What will that regex do with this?

        <a  href="a"><img src='sss'><!banner>

That's interpreted the same way, but typed a bit differently.  It won't
match your regex.

The moral of the story is that you should not try to parse the *MLs with
regexen--use modules instead.

--Brent Dax <[EMAIL PROTECTED]>
@roles=map {"Parrot $_"} qw(embedding regexen Configure)

Early in the series, Patrick Stewart came up to us and asked how warp
drive worked.  We explained some of the hypothetical principles . . .
"Nonsense," Patrick declared.  "All you have to do is say, 'Engage.'"
    --Star Trek: The Next Generation Technical Manual

Reply via email to