RegParser or Regular Parser is a library for parsing string inspired by Regular Expression or RegEx. As it was inspired by RegEx, RegParser inherits number of similar characteristic of RegEx. The concept such as character class, quantifier and greediness still applies. Beyond that here are some of RegParser's unique features.
- Named group with flat result
- Named group with tree result
- Pattern Type
- Two-stage parsing
- Java parser
- Validation
- Compile
- Whitespace
- Negative group
- Recursive
- BackRef
- Comment
- Collapse (Combine and Flatten)
Important difference between RegEx and RegParser that users should look for are:
- Possessive by default -- Possessive greediness is a greediness strategy that make the parser aggressively consume the text without backtracking.
RegParser is a free software; you can redistribute it and/or modify it under the SIMILAR terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. You are only required to inform me about your modification and redistribution as or as part of commercial software package. You can inform me via nawa@nawaman.net.
Please use ourissues tracking page to report any issues.
##Contribute
Feel free to join in. Report problems, suggest solutions, suggest more functionalities, making pull requests ... anything is appreciated (please do it in issues tracking page or email me directly).
If this is useful to you and want to buy me a coffee or lunch or help with my kids college fund ... that would be great :-p