Changeset 2871 for trunk


Ignore:
Timestamp:
12/02/13 19:07:11 (11 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-5858

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Support for simple field id selection (without <(=), >(=), or ~).


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/selector.py

    r2870 r2871  
    216216            elif re.match('^<=?[0-9]*$', s):
    217217                #print '"%s" is ID selection using < or <='%(s)
     218                pass   
    218219            elif re.match('^>=?[0-9]*$', s):
    219220                #print '"%s" is ID selection using > or >='%(s)
     221                pass
    220222            elif re.match('^[0-9]+~[0-9]+$', s):
    221223                #print '"%s" is ID selection using ~'%(s)
     224                pass
     225            elif s.isdigit():
     226                yield 'FIELDNAME == regex(\'.+__%s$\')'%(s)
    222227            else:
    223228                #print '"%s" is exact match'%(s)
Note: See TracChangeset for help on using the changeset viewer.