Added tests for multiple regexps and regexp+glob.

This commit is contained in:
Jeremy Fincher 2003-12-05 12:26:57 +00:00
parent f26115bb9b
commit 926904031f

View File

@ -93,6 +93,8 @@ if sqlite is not None:
self.assertRegexp('search --regexp /^.+i/',
'jemfinch.*strike')
self.assertNotRegexp('search --regexp /^.+i/', 'inkedmn')
self.assertRegexp('search --regexp m/j/ --regexp m/ss/','jamessan')
self.assertRegexp('search --regexp m/^j/ *ss*', 'jamessan')
self.assertRegexp('search --regexp /^j/',
'jemfinch.*jamessan')
self.assertRegexp('search j*', 'jemfinch.*jamessan')