justino berrun wrote:

> how would i express some where before/first and some where after/later in a string
> for example, if (match this "-key" before this "5L" ){ do the rest... }
> on a string that look like so: $string="-key 3345 -door 3432 -5L";

If the only condition you want to specify is that the two strings occur in the same 
order, you could use /$first.*$second/
which means: $first, possibly but not necessarily followed by other characters, then 
followed by $second, occuring somewhere within the string being examined.

Joseph




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to