reluctant-quantifiers Questions

1

Solved

In the documentation for the Java Pattern class, I see that the exact quantifier X{n} has both greedy and reluctant forms: Greedy quantifiers X{n} X, exactly n times ... Reluctant qua...
Depth asked 20/3, 2016 at 4:41

6

Solved

I have always written regexes like this <A HREF="([^"]*)" TARGET="_blank">([^<]*)</A> but I just learned about this lazy thing and that I can write it like this <A HREF="(.*?)...
Troytroyer asked 14/12, 2008 at 18:36
1

© 2022 - 2024 — McMap. All rights reserved.