in reply to Re: is this a regexp question ?
in thread is this a regexp question ?

Even though this is probably not what he meant, you can call a function from within a code-block within a regex:
$foo =~ /(?{match_foo()})/;

ar0n ]