[gedit-plugins] Remove dotall flag from regex replace in commander
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins] Remove dotall flag from regex replace in commander
- Date: Sat, 27 Aug 2011 08:36:40 +0000 (UTC)
commit 9632ed6c2f61fae8ad3d919aee81c9ba910ab058
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date: Sat Aug 27 10:34:06 2011 +0200
Remove dotall flag from regex replace in commander
plugins/commander/modules/find/regex.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/commander/modules/find/regex.py b/plugins/commander/modules/find/regex.py
index a2a640a..dfa5ce1 100644
--- a/plugins/commander/modules/find/regex.py
+++ b/plugins/commander/modules/find/regex.py
@@ -31,7 +31,7 @@ class RegexFinder(finder.Finder):
def __init__(self, entry, flags = 0):
finder.Finder.__init__(self, entry)
- self.flags = re.UNICODE | re.MULTILINE | re.DOTALL | flags
+ self.flags = re.UNICODE | re.MULTILINE | flags
self.groupre = re.compile('(\\\\)?\\$([0-9]+|{(([0-9]+):([^}]+))})')
def set_find(self, findstr):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]