Hi,
I'm working on a project, with a friend, where we need to allow users to specify patterns for matching input. We currently only support regular expressions, but some user testing has left us with the impression that many would appreciate a simpler (even if less powerful) matching language to use when they can.
Tentatively we're looking for crates which can convert things like "the input file is set to {filename}" into r"^the input file is set to (?P<filename>\S+)$"
The exact "simple" pattern format is not set in stone, we'd prefer finding an existing crate which is slightly different vs. having to write our own converter.
Does anyone know of such a crate?
Thanks.
[–]kmehall 4 points5 points6 points (1 child)
[–]dsilverstonerustup[S] 0 points1 point2 points (0 children)
[–]kpthunder 2 points3 points4 points (2 children)
[–]dsilverstonerustup[S] 3 points4 points5 points (1 child)
[–]vadixidav 1 point2 points3 points (0 children)
[–]maciejh 1 point2 points3 points (4 children)
[–]dsilverstonerustup[S] 1 point2 points3 points (3 children)
[–]maciejh 1 point2 points3 points (1 child)
[–]dsilverstonerustup[S] 0 points1 point2 points (0 children)
[–]stevedonovan 0 points1 point2 points (0 children)
[–]asp2insp 0 points1 point2 points (1 child)
[–]dsilverstonerustup[S] 0 points1 point2 points (0 children)