[Chicago-talk] Using a hash in a regex

Andy Lester andy at petdance.com
Thu Jul 13 13:46:16 PDT 2006


On Jul 13, 2006, at 3:43 PM, Randal L. Schwartz wrote:

> That replaces "this" with "1" in the string.  I *think* that's what  
> you want.
> It's not exactly what you said.  But it's what would likely be in the
> archive. :)

But he doesn't want a replacement.  He just wants a lazy non-looping  
way to check all the regexes in a hash.

--
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance






More information about the Chicago-talk mailing list