This commit is contained in:
syuilo 2018-05-17 15:25:41 +09:00
parent 68dc7340c3
commit 7d82b8dcee

View File

@ -7,7 +7,7 @@ import locale from '../../locales';
export default class Replacer {
private lang: string;
public pattern = /%i18n:([a-z0-9_\-\.\!]+?)%/g;
public pattern = /%i18n:([a-z0-9_\-\.\/\|\!]+?)%/g;
constructor(lang: string) {
this.lang = lang;