[Nottingham] Perl Regular Expression Query.

Michael Erskine nottingham at mailman.lug.org.uk
Fri Jan 17 14:38:00 2003


For your original test strings the results of /@.*?@.*?@.*?@/ are...

Testing '@@@@'...
	'@@@@'
Testing 'one@two@three@four@'...
	'@two@three@four@'
Testing '@a@b@c@d'...
	'@a@b@c@'

Is this what you are expecting?