* src/GenericFilter.py (HasTextMatchingSubstringOf): add checkboxes for case and regexp matching; (HasTextMatchingRegexpOf)
Added wrapper to use regexp matching in HasTextMatchingSubstringOf * src/gramps_main.py: Add new regular expression filter * src/plugins/FilterEditor.py (EditRule:__init__): Treat params of new filter as boolean. * TODO: Add parameter definition of Filter Rules to the filter itself, so it can be removed from the filter editor and used by PeopleView. svn: r4193
This commit is contained in:
@@ -637,6 +637,10 @@ class EditRule:
|
||||
t = MyListSelect(data)
|
||||
elif v == _('Inclusive:'):
|
||||
t = MyBoolean(_('Include original person'))
|
||||
elif v == _('Case sensitive:'):
|
||||
t = MyBoolean(_('Use exact case of letters:'))
|
||||
elif v == _('Regular-Expression matching:'):
|
||||
t = MyBoolean(_('Use regular expression'))
|
||||
else:
|
||||
t = MyEntry()
|
||||
tlist.append(t)
|
||||
|
||||
Reference in New Issue
Block a user