lambdaisland

Alys Brooks 2021-10-12T23:16:51.002600Z

We released a major new update to Regal, including supporting for Google's RE2 and lazy-qualifiers (like +`?` and *?) Thank you to @dandorman and @zoharkfor the contributions! https://github.com/lambdaisland/regal/releases/tag/v0.0.143

👍 4
Alys Brooks 2021-10-20T01:46:40.003700Z

I didn't do any performance testing as a part of merging the PR. @zohark might know, although I'm not sure performance was a motivation for using RE2 in his project.

Zohar Kelrich 2021-12-02T11:34:13.000900Z

My use case was building expressions for both Java and Google Bigquery, and not performance. But about performance, Java's RE engine has trouble when there are a lot of alternations (aaaaa|aaaab|aaaac) etc. because of backtracking, whereas re2 works in linear time. But re2 doesn't support lookahead/behind and such as a consequence. I actually ran into that alternation issue in my project, so having an easy way to switch to re2 there really helped!

Ben Sless 2021-12-02T13:22:31.001100Z

Cool. It was more general curiosity because when I played with RE2 I found its performance to be poor for the simple cases so didn't pursue it further

Ben Sless 2021-10-16T14:32:17.003Z

Did you see any performance differences with RE2?