At 04:19 PM 10/27/2005, Jeff Wood wrote:
>/[a-zA-Z0-9\._]*local.xml/.match('xpl.xml, demoUK.xml,
>met_local.xml,cfg.xml')[0]
>
>should work. just add any chars that are allowed in names to the []
>portion of the regex, you should be all good.

Or use:
   /[^ ]*local.xml/
or
   /\blocal.xml/

_____________________
  Bret Pettichord
  www.pettichord.com

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to