in reply to Re: Decompiling Regular Expressions
in thread Decompiling Regular Expressions

Thanks for the pointers. I don't mind using YAPE at all, just not sure if there are any gotchas I should look for. I don't intend for my use to serialize these or otherwise store them, just simply add them to the program source for the projects where I don't want the overhead.

-Lee

"To be civilized is to deny one's nature."
  • Comment on Re: Re: Decompiling Regular Expressions

Replies are listed 'Best First'.
Re: Re: Re: Decompiling Regular Expressions
by diotalevi (Canon) on Apr 03, 2003 at 21:12 UTC

    Oh I see. Well YAPE doesn't cover all of regex-dom you'll be safe as long as you stick to the YAPE-subset of supported regex constructs. I only gave you advice for solving the more general "decompile a regex" problem. YAPE partially solves the problem "parse a regex" which is quite different and eventually devolves to "parse perl".

      True. Just not sure what that subset is :)
      I'm getting fairly familiar with perlguts but have conviently avoided any contact with the regex engine for fear of going blind.

      -Lee

      "To be civilized is to deny one's nature."