Changeset 5691


Ignore:
Timestamp:
Oct 14, 2017, 9:14:39 AM (17 months ago)
Author:
cameron
Message:

Recursive name resolution may be required

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/UCD/resolve_properties.cpp

    r5683 r5691  
    1515#include <re/re_assertion.h>
    1616#include <re/re_parser.h>
     17#include <re/re_name_resolve.h>
     18#include <re/re_compiler.h>
    1719#include "UCD/PropertyAliases.h"
    1820#include "UCD/PropertyObjects.h"
     
    144146            if ((value.length() > 0) && (value[0] == '/')) {
    145147                // resolve a regular expression
    146                 re::RE * propValueRe = RE_Parser::parse(value.substr(1), re::DEFAULT_MODE, re::PCRE);
     148                re::RE * propValueRe = RE_Parser::parse(value.substr(1), re::DEFAULT_MODE, re::PCRE, false);
     149                propValueRe = re::resolveNames(propValueRe);  // Recursive name resolution may be required.
    147150                return propObj->GetCodepointSetMatchingPattern(propValueRe);
    148151            }
Note: See TracChangeset for help on using the changeset viewer.