non-greedy Questions
2
Solved
I wonder if there is a way to use ungreedy matching in JavaScript? I tried the U modifer, but it doesn't seem to work.
I want to write a small BBCode parser in JavaScript, but without ungreedy mat...
Cormier asked 12/12, 2008 at 20:22
5
Solved
I have the following text
tooooooooooooon
According to this book I'm reading, when the ? follows after any quantifier, it becomes non greedy.
My regex to*?n is still returning tooooooooooooon.
...
Lupitalupo asked 29/10, 2008 at 9:32
© 2022 - 2024 — McMap. All rights reserved.