plastikfan / zenobia

Regular expression based file management library
MIT License
0 stars 0 forks source link

Add extract function to expression-builder #11

Open plastikfan opened 5 years ago

plastikfan commented 5 years ago

The Directory element may contain a descendent element called Extract which in itself can contain Pattern elements. However, these Pattern elements are not the same as Expression Patterns, so actually, the Directory Pattern element needs to be renamed in order to distinguish between them. Let's call the new one a "Segment". The difference between Segment and Pattern is that Segment are self contained Regexes, whereas Patterns can be collated together as a group.