For educational purposes: a simple implementation of sticky regex matching. https://gist.github.com/rauschma/90f3e7978139f2f72f3e …
@schtoeffel Correct. I think @rauschma and I both know the difference. But e.g. `matchOffset` could be `const`, so why not make it so?
-
-
@mathias@schtoeffel Right. I just changed it. For now, I’m only using const for things that are completely immutable. -
@rauschma@schtoeffel I see many make the same choice, and never really understood why, as that’s not what `const` stands for. - 3 more replies
New conversation -
-
-
-
@schtoeffel It didn’t, no worries! +@rauschma - 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.