2013-02-20 2 views

답변

2

당신은 단지 그들을 추가해야합니다 잘하면 당신이 원하는 일을해야하는

<start of line> or <word boundary> or <whitespace> or . or [ or/

:

new RegExp('(?:^|\\b|\\s|\\.|\\[|\\/)' + this.options.token + '([\\w.]*)$'); 

등등 ...

이로 분해.

관련 문제