as in: var patt1 = /[~]/;
I can’t find a ref.
as in: var patt1 = /[~]/;
I can’t find a ref.
Hi,
Unless I’m missing something, it’s a (pretty pointless) regular expression.
It’ll match the first occurrence of the the literal character ~
The square brackets (used to define a character class) are superfluous.
What exactly are you having trouble with?
No trouble. I didn’t recognize is as a regular expression.
Thanks for the direction.
Niche