- Timestamp:
- 12/02/13 19:07:11 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/selector.py
r2870 r2871 216 216 elif re.match('^<=?[0-9]*$', s): 217 217 #print '"%s" is ID selection using < or <='%(s) 218 pass 218 219 elif re.match('^>=?[0-9]*$', s): 219 220 #print '"%s" is ID selection using > or >='%(s) 221 pass 220 222 elif re.match('^[0-9]+~[0-9]+$', s): 221 223 #print '"%s" is ID selection using ~'%(s) 224 pass 225 elif s.isdigit(): 226 yield 'FIELDNAME == regex(\'.+__%s$\')'%(s) 222 227 else: 223 228 #print '"%s" is exact match'%(s)
Note:
See TracChangeset
for help on using the changeset viewer.