Idea: using pluggable regex engines #161

Closed
hoelzro opened this Issue Dec 7, 2012 · 3 comments

Comments

Projects
None yet
2 participants
@hoelzro
Collaborator

hoelzro commented Dec 7, 2012

As of Perl 5.10 (check this), the regex engine is pluggable. Wouldn't it be kind of cool to allow users to specify which one to use?

NOTE: This idea may also be insane.

@petdance

This comment has been minimized.

Show comment Hide comment
@petdance

petdance Aug 28, 2013

Collaborator

My big question is: How useful is it? Is someone really going to plug in --re-engine=xxxx in their .ackrc? How much of a win will it be for that user?

OTOH, hey, look, a benefit of ack being pure Perl.

Collaborator

petdance commented Aug 28, 2013

My big question is: How useful is it? Is someone really going to plug in --re-engine=xxxx in their .ackrc? How much of a win will it be for that user?

OTOH, hey, look, a benefit of ack being pure Perl.

@hoelzro

This comment has been minimized.

Show comment Hide comment
@hoelzro

hoelzro Aug 28, 2013

Collaborator

We're going to try using the RE2 engine in our Friday hackathon and see if it results in a huge improvement. If so, we'll probably make efforts to make it more official.

Collaborator

hoelzro commented Aug 28, 2013

We're going to try using the RE2 engine in our Friday hackathon and see if it results in a huge improvement. If so, we'll probably make efforts to make it more official.

@hoelzro hoelzro closed this Aug 28, 2013

@hoelzro hoelzro reopened this Aug 28, 2013

@hoelzro

This comment has been minimized.

Show comment Hide comment
@hoelzro

hoelzro Nov 5, 2013

Collaborator

One potential benefit of this is using the TRE engine, which allows for approximate string matching.

Collaborator

hoelzro commented Nov 5, 2013

One potential benefit of this is using the TRE engine, which allows for approximate string matching.

@petdance petdance closed this Mar 17, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment