in reply to Re: Re: Weird "soundex" algorithm
in thread Weird "soundex" algorithm
You use a looping match for offsets into $_ but really ...Er, what looping? The /g matches the first vowel then saves the position of the match for substr which the replace then operates on. I didn't want to use the $+ variable because of the overhead it invokes.
_________
broquaint
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Weird "soundex" algorithm
by diotalevi (Canon) on Aug 29, 2003 at 01:53 UTC |