HI,
> I have a problem when I use regular expression.
> The sample code:
> [- $_ = "One Two Three" -]
> [$ if(/(\S+) (\S+) (\S+)/) $]
> The words are: [+$1+], [+$2+], [+$3+]
> [$ endif $]
>
> The result should be "The words are: One, Two, Three," But I
> got the result "The words are: One, Two,.
Hi,
I have a problem when I use regular expression.
The sample code:
[- $_ = "One Two Three" -]
[$ if(/(\S+) (\S+) (\S+)/) $]
The words are: [+$1+], [+$2+], [+$3+]
[$ endif $]
The result should be "The words are: One, Two, Three," But I got the
result "The words are: One, Two,."
After trying, I f