It won't, as a regex in the matchtext HAS to be enclosed in
/regex
/. Your code is translated to *nick*/iS instead. In addition, a word boundary isn't the same as a wildcard, and the regex equivalent of "wildcard asterisk" is
.* (
zero or more occurances of
any char), not *