Re: Running a regular expression on an NSString
Re: Running a regular expression on an NSString
- Subject: Re: Running a regular expression on an NSString
- From: Charles Miller <email@hidden>
- Date: Sun, 6 Jan 2002 03:08:42 +1100
Gregory Weston propagated the following meme:
>
I'm aware of that, but you've missed my point. I'll reiterate: regex
>
functionality is not part of the C standard, which was implied by the post to
>
which I responded. There's a difference between "commonly available" and
>
"standard." That difference is significant in an environment where rigorous
>
validation of components is mandatory.
Very, very few things are actually part of the C standard. There's only
15 standard C library headers, averaging six or seven functions each.
If it helps, regex.h conforms to POSIX1003.2.
``Some people, when confronted with a problem, think "I know, I'll use
regular expressions." Now they have two problems.''
-- Jamie Zawinski, in comp.lang.emacs (from the fortune file)
Charles Miller