From 6d972b91d30d6e314fee111354b98ed4130eebe6 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Mon, 30 Mar 2009 22:48:25 -0400 Subject: Improved inline pattern regex for em & strong and added tests. Fixes Ticket 30 and other related issues. Note that I went with php's behavior rather than perl's when we have have three (ie.: *** or ___) without a closing three. --- tests/misc/em_strong.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/misc/em_strong.txt (limited to 'tests/misc/em_strong.txt') diff --git a/tests/misc/em_strong.txt b/tests/misc/em_strong.txt new file mode 100644 index 0000000..d0774ad --- /dev/null +++ b/tests/misc/em_strong.txt @@ -0,0 +1,20 @@ +One asterisk: * + +One underscore: _ + +Two asterisks: ** + +With spaces: * * + +Two underscores __ + +with spaces: _ _ + +three asterisks: *** + +with spaces: * * * + +three underscores: ___ + +with spaces: _ _ _ + -- cgit v1.2.3