On Tue 29 Aug, Mark-Jason Dominus wrote:
>
> 2. You can already write /$foo(?:)bar/ to get what you wanted. This
>is almost identical to what Richard proposed anyway.
This has the effect I was after.
>
> It is really not clear to me that this problem needs to be solved any
> better than i
Richard Proctor suggests that (?) will match the empty string.
Then it can be inserted into regexes to separate elements that need to
be separated. For example, /$foo(?)bar/ interpolates the value of
$foo and then looks for that pattern followed by 'bar'. You cannot
simply write /$foobar/ bec