[pcre-dev] [Bug 1380] Report match when doesn't match and vi…

Inizio della pagina
Delete this message
Autore: Sorin
Data:  
To: pcre-dev
Oggetto: [pcre-dev] [Bug 1380] Report match when doesn't match and vice-versa
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1380




--- Comment #4 from Sorin <sxn02@???> 2013-08-21 00:11:36 ---
Thanks Zoltan for your solution; seems to be fine.

My personal gain in this story is that I was for the first time exposed to the
backtracking control verbs; now they're another tool in my kit.

Please don't take me wrong on this, although functionally they will achieve
what I need (full stop on (*FAIL), backtrack to (*SKIP), then jump out), I
still think the solution I suggested would be more efficient, because it's
doing a "straight" match attempt, and just "lies" about the result. No need to
force a failure, attempt a backtrack, ... just describing it looks more like a
hack in too many steps for the purpose.

Regards,
Sorin


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email