-
gitomat[illumos-gate] 16830 mdb ::dis could work on physical addresses -- Robert Mustacchi <rm⊙fo>
-
jbkam I completely misreading regex(7), or should both of these regexes match: gist.github.com/jasonbking/b3cb4b2fc33e31bf6a7057176098f05f
-
richlowe[[:digit:]] no?
-
richlowethat is, `[<foo>]` is a character class, and `[:digit:]` expands to the set of characters that are digits in this locale
-
richloweso `[[:digit:]]` forms a character class of those digits
-
jbkmaybe?
-
richloweI should note I'm saying this from memory, and memory of a book in the 90's that explained it really well. Definitely not that manual page, which regardless of whether I'm right, does not explain it well
-
richloweor, potentially, does not explain it
-
jbkhrm... ok
-
jbkthat worked
-
jbkthe man page though is not very clear on that
-
jbkat least to me
-
jbkthat [:xxx:] is what goes inside of [] vs. being a variant of []
-
otisand character classes are locale aware
-
sommerfelden.wikibooks.org/wiki/Regular_Expre…ons/POSIX_Basic_Regular_Expressions says "a[:digit:]b is an error: character classes must be in brackets"
-
jbkoh that has much better examples than the manpage
-
jbki've always tended to just use [0-9] or such since that's historically worked everywhere...