While this kinda goes against the idea of avoiding polluting the code with symbols, if we're gonna do it, what better than regexp?

This also risks being too much like a useful command.

VAR IZ COCKMONGLED!!/\s//g

Simply pass the regexp through to whatever function you have available to you to work with them. Clearly this is going to be easier to implement in PHP / Perl / on Unix. I'm not sure if we want the two !! there, it looks good, but it's certainly not necessary for parsing.

contributions/cockmongler.txt · Last modified: 2007/05/31 00:37 by ritontor
Recent changes RSS feed Creative Commons License Donate Driven by DokuWiki