Hacker News new | past | comments | ask | show | jobs | submit login

I can't imagine finding

    VerbalExpression regex = regex()
                    .find("a")
                    .capture().find("b").anything().endCapture().then("cd").build();
To involve less "cognitive overhead" than

    /a(b.*)cd/
For example, what is "anything"? (In this case, "anything" can be nothing.) Where does the capture group start/end? (In normally regexp syntax even naive brace matching will usually tell you.)



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: