Re: how to add a space using a regex



"Matt Garrish" <matthew.garrish@xxxxxxxxxxxx> wrote:

[...]

>> I suggest that two letter first names are quite rare, which leads
>> to an obvious adjustment of your regex. Still not perfect, but
>> much closer.
>>
>
> Discounting Asian surnames, which are often two letters and
> precede the proper name...


Yes, and what about "El-Hagin"? That's gotta be annoying.


> And how about all the Eds and Als in the world?


What about them?


> Seems like a problem doomed to failure.


I did say "Still not perfect", you know.


--
Cheers,
Bernard
.



Relevant Pages

  • Re: how to add a space using a regex
    ... >>> I suggest that two letter first names are quite rare, which leads ... >>> to an obvious adjustment of your regex. ... Ed was saying to Al that he was amazed so many people waste letters... ...
    (comp.lang.perl.misc)
  • Re: how to add a space using a regex
    ... > anno4000@xxxxxxxxxxxxxxxxxxxxxxx (Anno Siegel) wrote: ... >> which is a regex) does. ... >> with the same substitution? ... > I suggest that two letter first names are quite rare, ...
    (comp.lang.perl.misc)