flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject [1/2] git commit: [flex-sdk] - Added unicode whitespace to match regular expression whitespace matching
Date Sat, 20 Apr 2013 05:26:04 GMT
Updated Branches:
  refs/heads/develop c9558c25e -> 5d7d26995


Added unicode whitespace to match regular expression whitespace matching


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/9cb4d10d
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/9cb4d10d
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/9cb4d10d

Branch: refs/heads/develop
Commit: 9cb4d10d3199c93b28d3d889f8c1224e98709030
Parents: c9558c2
Author: Justin Mclean <jmclean@apache.org>
Authored: Sat Apr 20 14:32:34 2013 +1000
Committer: Justin Mclean <jmclean@apache.org>
Committed: Sat Apr 20 14:32:34 2013 +1000

----------------------------------------------------------------------
 .../projects/framework/src/mx/utils/StringUtil.as  |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/9cb4d10d/frameworks/projects/framework/src/mx/utils/StringUtil.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/utils/StringUtil.as b/frameworks/projects/framework/src/mx/utils/StringUtil.as
index 1e79703..b25df9c 100644
--- a/frameworks/projects/framework/src/mx/utils/StringUtil.as
+++ b/frameworks/projects/framework/src/mx/utils/StringUtil.as
@@ -134,6 +134,12 @@ public class StringUtil
             case "\r":
             case "\n":
             case "\f":
+			// non breaking space
+			case "\u00A0":
+			// line seperator
+			case "\u2028":
+			// paragraph seperator
+			case "\u2029":
                 return true;
 
             default:


Mime
View raw message