Project

General

Profile

Feature #2834

Updated by Junxiao Shi almost 9 years ago

This change is mainly for key generation. Since we cannot infer pattern and derive name from ambiguous pattern. And also because we want to simplify the regular expression. Some features are not essential. 

 Features that have been changed: 

 1. `1.` do not allow repetition for sub groups. This is to avoid uncertainty in pattern. 

     

 For example: 

 We do not allow `<ndn>(<>)*` or `<ndn>(<>*)*` 

 2. `2.` remove '`^`' and '$' in pattern expression. Every pattern needs to be complete. 

     

 For example: 

 previous pattern `^<ndn><edu>` needs to change to `<ndn><edu><>*` if it has more components after `<edu>` 

 3. `3.` do not allow subgroups in the wildcard. wild card. This is to simplify the regular expression. 

     

 For example: 

 previous pattern `<(.*).(.*)>` is not allowed.

Back