From 80255411ee7040e0cebbf6b05d2ce323f6f2596e Mon Sep 17 00:00:00 2001 From: JinweiClarkChao Date: Fri, 22 Aug 2014 17:23:02 +0800 Subject: backup --- Back/Blocks/syntax/tests/cases/010_highlight.html | 70 +++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 Back/Blocks/syntax/tests/cases/010_highlight.html (limited to 'Back/Blocks/syntax/tests/cases/010_highlight.html') diff --git a/Back/Blocks/syntax/tests/cases/010_highlight.html b/Back/Blocks/syntax/tests/cases/010_highlight.html new file mode 100644 index 0000000..64b6613 --- /dev/null +++ b/Back/Blocks/syntax/tests/cases/010_highlight.html @@ -0,0 +1,70 @@ +
+	public function validateStrongPassword(password:String):Boolean
+	{
+		if (password == null || password.length <= 0)
+		{
+			return false;
+		}
+		
+		return STRONG_PASSWORD_PATTERN.test(password);
+	}
+
+ + + -- cgit v1.2.3