> The most serious objection to this was 'well, use modules for matching *ml" -
> which simply points out that the current incarnation of perl6 regex doesn'
> t handle a very large class of matching problems very well.
The modules use regexes. They just spend more time on them and make them
better than you could on the fly. Plus, I don't see what's keeping you
from writing a rule that matches a tag. I think it would go something like
this:
rule tag($name) {:w \< $name %opts:=[ (\S+)=(\S+) ]* \> }
Then, you can match an img tag with:
/ <tag 'img'> /
See, isn't that great?
Luke