rgrinberg / humane-re

The human friendly interface to ocaml-re
25 stars 2 forks source link

Case insensitive search? #2

Open loxs opened 6 years ago

loxs commented 6 years ago

I like what this library does but I need case insensitive search. It seems to be really easy to let the user provide ~case here: https://github.com/rgrinberg/humane-re/blob/master/lib/str.ml#L13

Is there a design reason to not allow the user to do that?

rgrinberg commented 6 years ago

I think that Re.no_case accomplishes what you want already.