184 reputation
9
bio website perl.com
location Boulder, CO
age 51
visits member for 4 years
seen Aug 22 at 2:01

profile for tchrist on Stack Exchange, a network of free, community-driven Q&A sites

I’m Tom Christiansen, author of Programming Perl and Perl Cookbook from O’Reilly. I’m a freelance instructor giving courses in Perl programming, including Unicode and regular expressions. I’ve been using BSD Unix for 30 years now; like your maid, I don’t do Windows.

I’ve undergraduate degrees in Spanish and in Computer Science, and a graduate degree in compsci focusing on operating systems design and in natural language processing. I’ve studied Spanish, French, Italian, Portuguese, Latin, and German, with a smattering of other languages thrown in. For the last few years I’ve been dabbling in computational linguistics.


Aug
19
awarded  Citizen Patrol
Jul
17
comment Some Unicode fonts not working in Windows 7/Firefox
I still wonder whether this is applies only scripts whose code points lie above the BMP (n > 0xFFFF), which would include things like Mathematical Alphanumeric Symbols, the emoji of Miscellaneous Symbols And Pictographs, most of the the Emoticons, as well as the Gothic, Desert, Carian, Egyptian Hieroglyphics, and Cuneiform scripts all in the SMP, plus the various various CJK ideographs in the SIP.
Jan
30
comment Grep in Microsoft Word?
Having hundreds of them to do it for, is what.
Aug
15
awarded  Editor
Aug
15
revised Where is installed software stored in Linux?
broadened description; touched up wording; corrected spelling; switched to jargon to Unix style; tweaked typography
Aug
15
comment Perl for matching with regular expressions in Terminal?
On parsing HTML with regexes, mark 2.
Aug
15
suggested suggested edit on Where is installed software stored in Linux?
Apr
26
awarded  Scholar
Apr
26
comment How to support both LH & RH mice?
Thanks! I’ll give it a try.
Apr
26
accepted How to support both LH & RH mice?
Apr
25
awarded  Student
Apr
25
asked How to support both LH & RH mice?
Mar
2
awarded  Autobiographer
Feb
16
comment Are Linux commands interchangeable with Unix commands?
@Dave Bah. Don’t be lame. Call a spade a spade, a cat a cat, and remember that a rose by any other name shall still smell as sweet. Hie thee to a Windows box and learn what Unix is not. But Linux is of course Unix.
Feb
15
comment Are Linux commands interchangeable with Unix commands?
Linux is Unix, you know.
Sep
2
comment How can I find non-ASCII characters in text files?
@Tom: Yup. I was just mimicking what the OP did, which I late realized didn't make sense.
Sep
1
awarded  Critic
Sep
1
comment How can I find non-ASCII characters in text files?
Nop, ASCII is code points 0 through 127. Your pattern matches 0 through 255. It is therefore wrong.
Aug
31
comment How can I find non-ASCII characters in text files?
It doesn’t make any sense to read the whole file into memory. Note that EVERY SINGLE STRING EVER CREATED matches something like /[\x00-\xFF]*/, just as every single string also matches /a*/, even "xxx". Zero or more means you’re content with 0. And /[\x80-\xFF]/ is not ASCII! You need to match /^[\x00-\x7F]+$/ to be all ASCII. A normal regex engine with the very most basic Unicode support would simply use \p{ASCII} vs \P{ASCII}.
Aug
31
comment How can I find non-ASCII characters in text files?
Use grep -P '[^\x00-\xFF]' or perl -ne 'print if /[^\x00-\xFF]/'. Note that grep’s -P option doesn’t actually accept real Perl regexes.