add StartsWith and EndsWith primitives. Then make Prefix and Postfix active patterns using thoses
Handles autoclosed tags.