\s+ will match at least one whitespace character¹. The match will consume as many as it can.
.*? will match 0 or more characters (except for newlines, which it will only match if the /s modifier is given.) The ? makes the match non-greedy. It will match as little as is possible. It isn't particularly useful unless there is something after that portion of the regex.
1. Bold text added for exactness. See comments below. \s is equivalent to the character class: [ \r\n\f\t]. (And thanks to diotalevi for catching my laziness.)
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Req Expression translation
by sauoq
in thread Req Expression translation
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |