fix "range" keyword
This commit is contained in:
@@ -484,7 +484,7 @@ void Font::LoadFontPageSettings( FontPageSettings &cfg, IniFile &ini, const RStr
|
|||||||
* range Unicode #3041-3094=0
|
* range Unicode #3041-3094=0
|
||||||
*/
|
*/
|
||||||
vector<RString> asMatches;
|
vector<RString> asMatches;
|
||||||
static Regex parse("^RANGE ([A-Z\\-]+)( ?#([0-9A-F]+)-([0-9A-F]+))?$");
|
static Regex parse("^RANGE ([A-Z0-9\\-]+)( ?#([0-9A-F]+)-([0-9A-F]+))?$");
|
||||||
bool bMatch = parse.Compare( sName, asMatches );
|
bool bMatch = parse.Compare( sName, asMatches );
|
||||||
|
|
||||||
ASSERT( asMatches.size() == 4 ); /* 4 parens */
|
ASSERT( asMatches.size() == 4 ); /* 4 parens */
|
||||||
|
|||||||
Reference in New Issue
Block a user