We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f447e3a + fbd2663 commit 604db62Copy full SHA for 604db62
Assets/BitmapFontImporter/Editor/FntParse.cs
@@ -107,7 +107,12 @@ private static int ToInt(XmlNode node, string name)
107
private Regex pattern;
108
public void DoTextParse(ref string content)
109
{
110
- pattern = new Regex(@"\S+="".*?""|\S+");
+ // letter=" " // \S+=".+?"
111
+ // letter="x" // \S+=".+?"
112
+ // letter=""" // \S+=".+?"
113
+ // letter="" // \S+
114
+ // char // \S+
115
+ pattern = new Regex(@"\S+="".+?""|\S+");
116
string[] lines = content.Split(new char[] { '\r', '\n' }, StringSplitOptions.RemoveEmptyEntries);
117
ReadTextInfo(ref lines[0]);
118
ReadTextCommon(ref lines[1]);
0 commit comments