Subject:
|
Re: Thoughts on using yellow for a castle...
|
Newsgroups:
|
lugnet.off-topic.fun
|
Date:
|
Tue, 22 Feb 2000 22:10:11 GMT
|
Viewed:
|
1074 times
|
| |
| |
In lugnet.off-topic.fun, Eric Brouwer writes:
> And I believe there is also Eriq, as in Eriq La Salle from ER (Dr. Benton)
Goodness, I'm going to have to write a new regular expression to recognize the
name. Let's see.... Eri((c[kh])|[ck]).(1) That works out to "Eri" followed by
either c followed by k or h, OR, c or k. Thus Erick, Erich, Eric, or Erik are
valid. Anything else strikes me as being some sort of delusional American
aberration (As I dislike this practice of my fellow Americans, I will
blissfully ignore the other forms).(2) Of course, Eri((c[kh])|[ck]) is a big
mouthful, whereas Eri[ck] is nice 'n friendly. I say we stick with the simple
version and leave it at that. See the footnotes for further Perl fun.
Eric "the" Lind
(1)<geek speak>This is all Perl. I think one of the sets of () might be
extraneous, but otherwise, it should work. The c[kh] has to be first in the
alternation, or the [ck] would match successfully and the extra letters
wouldn't get lumped in.</geek speak>
(2)<geek speak>To include the other forms, we'd need Err?i((c[kht])|[ckq]).
This allows Erick, Erich, Eric, Erik, Erric, Erict and Eriq, but also includes
stuff like Erriq and Errich. ewww. A truly accurate form could be
\bEr((i((c[kht])|[ckq]))|ric)\b (3). This, of course, is incredibly
ugly.</geek speak>
(3)Yes, I tested this. The \b are word boundaries to remove things like
Ericsson from the mix.
|
|
Message has 1 Reply: | | Re: Thoughts on using yellow for a castle...
|
| (...) Cool! That'll remove everyone named Aric, Ric, Ricky, Eirik, Erek, Errick, Rick, or Rikky from your ranks! This is, of course, assuming you removed all the Frederick's (and all variations) and Roderick's (and all variations) from your original (...) (25 years ago, 22-Feb-00, to lugnet.off-topic.fun)
|
Message is in Reply To:
42 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|