Update i18n.ts

This commit is contained in:
syuilo 2018-05-07 05:22:06 +09:00 committed by GitHub
parent 3bb9d54eb1
commit 26302e3eda

View File

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