WizardRandom
[Work] that moment when '\\\\\\\\+|\\\\\\\\-' is what you need to input to indicate '+|-'

Being a programmer is weird.
ĴÎŊ𝟡ŁȜ ☯ Ħ三ĿĿŠ
...okay I know just enough css to know that backslashes can indicate "this is not code" but what do +| do that would fuck with a code line?
ĴÎŊ𝟡ŁȜ ☯ Ħ三ĿĿŠ
(I literally only know enough css to fix visual errors on plurk and tumblr)
WizardRandom
Okay. this is part of a regular expression, which is a way to filter and match strings. the + ands - are reserved characters, to in the regex string, you'd typically put in \+|\- as the \ is the escape character
WizardRandom
the \ character is a reserved character justr about everywere else, so typcially you indicate the \ with \\.

.... and from there it's turtles all the way down.
ĴÎŊ𝟡ŁȜ ☯ Ħ三ĿĿŠ
...oh jesus
ĴÎŊ𝟡ŁȜ ☯ Ħ三ĿĿŠ
that seems so kludgy
WizardRandom
Yup
載入新的回覆