lukearno/selector — Issue #11: Inline Regexs for Path Expressions and Types
Author: lukearno
Created: 2011-11-24 02:36:48+00:00
State: open

Regexes for types and path expressions should usable inline.

Path expressions that start with `^` should be taken as raw regexes. IOW, this should work without specifying any custom parser.

```python
s.add(r'^\/endpoint\/$', ...)
```
Regexes for types should be definable inline with perlish slashes like this:

```python
s.add('/foo/{fooname:/ANYREGEX/}', ...
```

Either case would set `construct=False` WRT the proposed URL generation feature (so, no URL generation)