The official, up-to-date version of this document is here.
This is no longer a bug. I'm keeping the gist for historical reasons, as it helped to get it fixed. Make sure to read the notes by the end of the post.
- Set
-moz-appearance
tonone
. This will "reset" the styling of the element; - Set
text-indent
to0.01px
. This will "push" the text a tiny bit[1] to the right;
I wanted my built-in syntax highlighting to support the latest stuff from jshint. Like nocomma
.
But unfortunately, I'm using Sublime Text 2, because I'm a luddite and bad person and subhuman really. So I clawed my way up my macbook's legs and took a look around.
In sublime text 2, after some searching, I was able to find Sublime Linter's copy of jshint here:
I frequently find myself trying to quickly explain the basics of JavaScript regexp, and doing a hasty or incomplete job. Instead, I'm making this. It is by no means a complete reference. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp for that.
.
- any character[abc]
- any character that matches one of the characters inside the brackets (in this case "a", "b", or "c")