Greetings,
I have file which represents my environment variables in Win2K - looks like this:
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\goodallp\Application Data
CLASSPATH=C:\Alinc\lib\Generate.jar;C:\Alinc\lib\LINCViewer.jar;C:\Alinc\lib\LINCApplet.jar;C:\Alinc\lib\WSGenerator.jar;C:\Alinc\lib\ASPGenerator.jar
CommonProgramFiles=C:\Program Files\Common Files
...
I have tried to match the part of each line which looks to me like:
^[[:alpha]]+=
I get cannot find R.E. same as above
I also can't match [[:alpha]] at all, or any other class expression. I've tried POSIX and not.
I'm not an expert in REs. Help appreciated.
--Peter Goodall
Character Class Operators
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Re: Character Class Operators
I think you simply forgot the ":" after "alpha". Try
^[[:alpha:]]+=
That should work.
^[[:alpha:]]+=
That should work.