Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: __LANG__Monks slogans

by dragonchild (Archbishop)
on Jul 27, 2001 at 21:30 UTC ( [id://100384] : note . print w/replies, xml ) Need Help??


in reply to __LANG__Monks slogans
in thread Insert Language Here Monks

  • asmMonks: You can do it ... if you can figure out how.
  • JAMMonks: You can't do it in any sane way.
  • SQLMonks: You can do it, but our functions have been renamed.
  • RegexMonks: I can do anything, but you can't read it.
RegexMonks could also be: I can do anything, but so can my modem.

Replies are listed 'Best First'.
Re: Re: __LANG__Monks slogans
by maverick (Curate) on Jul 27, 2001 at 22:14 UTC
    RegexMonks: I can do anything...?

    <sarcasm>
    Write a regex that determines if an arbitrary set of parentheses are balanced within a string. :-)
    </sarcasm>

    /\/\averick

      $re = qr/(?:(?>[^()]*)|\((??{$re})\))+/; print 'I (pity (the (fool) who) dont) know (regexes)' =~ /^$re$/;
         MeowChow                                   
                     s aamecha.s a..a\u$&owag.print