> Here is a few throw away thoughts - they don't constitute RFC
   > material yet, I am not sure if they would be that useful and have
   > not yet thought of any syntax, but any others? All of these can be
   > done today but are not necessarily "easy".
   > 
   > * Embeded patterns that do not match a pattern - you can do [^a]*
   >   for a string that does not have an a, but can you match a string
   >   that does not contain "and".

/\A(?s:(?!and).)*\Z/

   > * Using the pattern returned from some function as part of a regex

/pattern returned from ${\some_function} as part of a regex/

   > * Using an array of "words" as an alternate list as part of a regex

/match any of (${\join'|',@list}) here/


Damian

Reply via email to