summaryrefslogtreecommitdiff
path: root/Locale/Po4a
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-10-23 01:06:18 +0200
committerJonas Smedegaard <dr@jones.dk>2013-10-13 00:47:51 +0200
commite8f437990f272681c3bd35ab8303e5de4f7653d7 (patch)
treecd2ac4b0534a8b4521284619ea5ddc151161d1dc /Locale/Po4a
parent9948516af9b8356e0c45edf62f5551807c074ec8 (diff)
Drop superfluous /ms regex extensions.
Diffstat (limited to 'Locale/Po4a')
-rw-r--r--Locale/Po4a/Text.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/Locale/Po4a/Text.pm b/Locale/Po4a/Text.pm
index 32f9dec..0caec0b 100644
--- a/Locale/Po4a/Text.pm
+++ b/Locale/Po4a/Text.pm
@@ -242,12 +242,12 @@ sub parse {
if ($markdown) {
# Some Markdown markup can (or might) not survive wrapping
$wrapped_mode = 0 if (
- $paragraph =~ /^>/ms # blockquote
- or $paragraph =~ /^( {8}|\t)/ms # monospaced
- or $paragraph =~ /^\$(\S+[{}]\S*\s*)+/ms # Xapian macro
- or $paragraph =~ /<(?![a-z]+[:@])/ms # maybe html (tags but not wiki <URI>)
- or $paragraph =~ /^[^<]+>/ms # maybe html (tag with vertical space)
- or $paragraph =~ /\[\[\!\S[^\]]+$/ms # macro begin
+ $paragraph =~ /^>/ # blockquote
+ or $paragraph =~ /^( {8}|\t)/ # monospaced
+ or $paragraph =~ /^\$(\S+[{}]\S*\s*)+/ # Xapian macro
+ or $paragraph =~ /<(?![a-z]+[:@])/ # maybe html (tags but not wiki <URI>)
+ or $paragraph =~ /^[^<]+>/ # maybe html (tag with vertical space)
+ or $paragraph =~ /\[\[\!\S[^\]]+$/ # macro begin
);
}
if ($end_of_paragraph) {