nichemtktg — 2014-06-28T11:17:46-04:00 — #1
as in: var patt1 = /[~]/;
I can't find a ref.
pullo — 2014-06-28T11:35:15-04:00 — #2
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?
nichemtktg — 2014-06-28T11:47:50-04:00 — #3
No trouble. I didn't recognize is as a regular expression.
Thanks for the direction.