Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve regular expression error messages (#5871)
* Add index to RegexAST, change some error messages Signed-off-by: Anthony Chang <antchang@nvidia.com> * Require error messages to contain index, and record indices when parsing regex Signed-off-by: Anthony Chang <antchang@nvidia.com> * Edit some messages, finish adding position to all errors Signed-off-by: Anthony Chang <antchang@nvidia.com> * Add auxillary constructor to RegexAST implementations Signed-off-by: Anthony Chang <antchang@nvidia.com> * cleanup Signed-off-by: Anthony Chang <antchang@nvidia.com> * Provide more accurate index for empty sequence error Signed-off-by: Anthony Chang <antchang@nvidia.com> * Capataize error messages, fix typos, edit tests Signed-off-by: Anthony Chang <antchang@nvidia.com>
- Loading branch information