This is a great library. Thank you for sharing it.
I am interested in collecting a Chapman&Stolee feature vector from a regex.
(cf. Table 4 in Exploring Regular Expression Usage and Context in Python, ISSTA'16.)
It did not appear to me that this was currently possible. I looked into walking the RegexTree produced by RegexParser, but for example it collapses quantifiers like *, +, and {m,n} into the same type of RegexNode.
I have modified RegexParser.cs to collect a feature vector during ScanRegex. Would a PR be of interest?
This is a great library. Thank you for sharing it.
I am interested in collecting a Chapman&Stolee feature vector from a regex.
(cf. Table 4 in Exploring Regular Expression Usage and Context in Python, ISSTA'16.)
It did not appear to me that this was currently possible. I looked into walking the
RegexTreeproduced byRegexParser, but for example it collapses quantifiers like*,+, and{m,n}into the same type ofRegexNode.I have modified
RegexParser.csto collect a feature vector duringScanRegex. Would a PR be of interest?