2006-05-14 Alex Roitman <shura@gramps-project.org>
* src/Filters/Rules/Person/_HasNoteRegexp.py: Import re module. svn: r6653
This commit is contained in:
parent
ef524056d1
commit
d35c6af27d
@ -1,3 +1,6 @@
|
|||||||
|
2006-05-14 Alex Roitman <shura@gramps-project.org>
|
||||||
|
* src/Filters/Rules/Person/_HasNoteRegexp.py: Import re module.
|
||||||
|
|
||||||
2006-05-13 Brian Matherly <brian@gramps-project.org>
|
2006-05-13 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/plugins/NarrativeWeb.py: Add option for number of generations in
|
* src/plugins/NarrativeWeb.py: Add option for number of generations in
|
||||||
ancestor graph (bug #0000077)
|
ancestor graph (bug #0000077)
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
# Standard Python modules
|
# Standard Python modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
import re
|
||||||
from gettext import gettext as _
|
from gettext import gettext as _
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
@ -42,7 +43,8 @@ class HasNoteRegexp(Rule):
|
|||||||
|
|
||||||
labels = [ _('Regular expression:')]
|
labels = [ _('Regular expression:')]
|
||||||
name = _('People having notes containing <regular expression>')
|
name = _('People having notes containing <regular expression>')
|
||||||
description = _("Matches people whose notes contain text matching a regular expression")
|
description = _("Matches people whose notes contain text "
|
||||||
|
"matching a regular expression")
|
||||||
category = _('General filters')
|
category = _('General filters')
|
||||||
|
|
||||||
def __init__(self, list):
|
def __init__(self, list):
|
||||||
|
Loading…
Reference in New Issue
Block a user