Re: There has to be a way to do this

2003-06-23 Thread Jeff 'japhy' Pinyan
On Jun 23, [EMAIL PROTECTED] said: >SRED. SREDNE >SEV. SEVERN ># Match it at beginning of line >$cgname =~ s/^SRED\.(?=[\W\s\-\d]+)/SREDNE:/g ; Three things -- the + modifier on the [...] isn't needed, you don't need to put \s and - in a character class you've already put \W in, and the /g modi

Re: There has to be a way to do this

2003-06-23 Thread scott . e . robinson
Subject: Re: There has to be a way to do this

Re: There has to be a way to do this

2003-06-21 Thread Peter Scott
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Scott E Robinson) writes: >Is there a way in Perl to read the abbreviation >dicitionary (the tab-delimited list), generate the code, insert it into the >right subroutine, and start executing the program, all in one script? perldoc -f eval Also t

There has to be a way to do this

2003-06-20 Thread scott . e . robinson
process, to make it more end-user-friendly. There has to be a way to do this with Perl. The script uses a "dictionary" of abbreviations to aid its matching. The abbreviations are implemented as a series of substitutions with the "s" operator. I have a Perl script which