18:38:00 [illumos-gate] 16830 mdb ::dis could work on physical addresses -- Robert Mustacchi 20:59:34 am I completely misreading regex(7), or should both of these regexes match: https://gist.github.com/jasonbking/b3cb4b2fc33e31bf6a7057176098f05f 21:05:12 [[:digit:]] no? 21:07:14 that is, `[]` is a character class, and `[:digit:]` expands to the set of characters that are digits in this locale 21:07:24 so `[[:digit:]]` forms a character class of those digits 21:08:09 maybe? 21:08:26 I 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 21:08:31 or, potentially, does not explain it 21:08:38 hrm... ok 21:08:40 that worked 21:09:36 the man page though is not very clear on that 21:09:38 at least to me 21:10:15 that [:xxx:] is what goes inside of [] vs. being a variant of [] 21:11:16 and character classes are locale aware 21:36:29 https://en.wikibooks.org/wiki/Regular_Expressions/POSIX_Basic_Regular_Expressions says "a[:digit:]b is an error: character classes must be in brackets" 22:12:29 oh that has much better examples than the manpage 22:13:23 i've always tended to just use [0-9] or such since that's historically worked everywhere...