On 06/08/2021, o...@eigenstate.org <o...@eigenstate.org> wrote:
> man 6 regexp: http://man.9front.org/6/regexp

I wonder if it would be good if libregexp itself could look for a
fixed string the way Plan 9 grep does: '*foo' is foo.

I've found myself wanting this in Mothra. Can't remember the
circumstance. It might be even more useful in other programs.

Sam and Acme implement regex by themselves so it still wouldn't be
universal in the system.

Might create problems in mk (if anywhere),

but if it works everywhere I don't see what there is to lose.

Nothing that runs, say, sed from within APE is going to be attempting
to start a regex with * in the first place, so that's something that
need not be worried about.

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T3107cd3bc536dc63-M4b28d60fa00554b77085a929
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to