On 09/05/2016 13:55, Daniel Veillard wrote:
On Mon, May 09, 2016 at 11:35:28AM +0100, Pete Cordell wrote:
On 09/05/2016 10:26, Daniel Veillard wrote:
Is this OK?  I used git format-patch.  I'm new to submitting diffs!  If you
want another format let me know.

Yup, just add it as an attachment instead, it's easier to process and avoid
mail agents and tools to mess with the content. Also would need to results ;-)

Hopefully the attached is better...

Pete.
Date: Mon, 9 May 2016 11:08:26 +0100
Subject: [PATCH] Additional regexp test vectors

---
 result/regexp/multiple-rollback-paths |  2 ++
 result/regexp/optional-as-zero-one    | 15 +++++++++++++++
 test/regexp/multiple-rollback-paths   |  2 ++
 test/regexp/optional-as-zero-one      | 15 +++++++++++++++
 4 files changed, 34 insertions(+)
 create mode 100644 result/regexp/multiple-rollback-paths
 create mode 100644 result/regexp/optional-as-zero-one
 create mode 100644 test/regexp/multiple-rollback-paths
 create mode 100644 test/regexp/optional-as-zero-one

diff --git a/result/regexp/multiple-rollback-paths 
b/result/regexp/multiple-rollback-paths
new file mode 100644
index 0000000..84d53b7
--- /dev/null
+++ b/result/regexp/multiple-rollback-paths
@@ -0,0 +1,2 @@
+Regexp: ((2{1,2}|24)\.){2}2
+24.24.2: Fail
diff --git a/result/regexp/optional-as-zero-one 
b/result/regexp/optional-as-zero-one
new file mode 100644
index 0000000..9eccc6b
--- /dev/null
+++ b/result/regexp/optional-as-zero-one
@@ -0,0 +1,15 @@
+Regexp: ab?c{0,1}
+a: Ok
+ab: Ok
+abc: Ok
+ac: Ok
+Regexp: ab?c?
+a: Ok
+ab: Ok
+abc: Ok
+ac: Ok
+Regexp: ab{0,1}c{0,1}
+a: Ok
+ab: Ok
+abc: Ok
+ac: Ok
diff --git a/test/regexp/multiple-rollback-paths 
b/test/regexp/multiple-rollback-paths
new file mode 100644
index 0000000..eea526a
--- /dev/null
+++ b/test/regexp/multiple-rollback-paths
@@ -0,0 +1,2 @@
+=>((2{1,2}|24)\.){2}2
+24.24.2
diff --git a/test/regexp/optional-as-zero-one b/test/regexp/optional-as-zero-one
new file mode 100644
index 0000000..0c696f1
--- /dev/null
+++ b/test/regexp/optional-as-zero-one
@@ -0,0 +1,15 @@
+=>ab?c{0,1}
+a
+ab
+abc
+ac
+=>ab?c?
+a
+ab
+abc
+ac
+=>ab{0,1}c{0,1}
+a
+ab
+abc
+ac
-- 
2.5.3.windows.1

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
https://mail.gnome.org/mailman/listinfo/xml

Reply via email to