summaryrefslogtreecommitdiff
path: root/test/lisp/progmodes/cperl-mode-resources/cperl-bug-26850.pl
diff options
context:
space:
mode:
Diffstat (limited to 'test/lisp/progmodes/cperl-mode-resources/cperl-bug-26850.pl')
-rw-r--r--test/lisp/progmodes/cperl-mode-resources/cperl-bug-26850.pl16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/lisp/progmodes/cperl-mode-resources/cperl-bug-26850.pl b/test/lisp/progmodes/cperl-mode-resources/cperl-bug-26850.pl
new file mode 100644
index 00000000000..a02ea29fe9d
--- /dev/null
+++ b/test/lisp/progmodes/cperl-mode-resources/cperl-bug-26850.pl
@@ -0,0 +1,16 @@
+sub interesting {
+ $_ = shift;
+ return
+ />Today is .+\'s birthday\.</
+ || / like[ds]? your post in </
+ || /like[ds] your new subscription\. </
+ || / likes? that you're interested in </
+ || /> likes? your comment: /
+ || /&amp;birthdays=.*birthdays?\.<\/a>/;
+}
+
+sub boring {
+ return
+ / likes? your post in </
+ || / likes? that you're interested in </
+}