in reply to Re: need to split URL string
in thread need to split URL string

Close, but as you appear to have suspected, there is a typo, which can be dealt with this way:
m%([^/]*)$%)

In your original, the forward slash inside the stock delimiters terminates the regex you offered, meaning that has an unmatched "["