-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regex not working #18
Comments
Dear Svalentinow, does "not seem to be working" mean that java does not consider the regex to be syntatically ok? In that case the lack of correct escaping may be the cause.... Please elaborate the "not working" statement, |
This is my result, with p as 200 and g as 500. using windows btw. "datasetName": "References/Lead-Author", I am using a basic code to test the regex, with the reference/lead author dataset. public class Test It is not a syntax error. With your suggestion, i did add more backslash. It should return true with the example string that was provided in the labelled data set. But its false. Thanks |
I am currently doing research to understand the software. The regex generated do not seem to be working when used natively in java. For example, using the available dateset References/Lead-Author, the regex "(?<=\. )[^,]++, (?:\w\.)++" does not work.
Is there something that can be done?
Thanks
The text was updated successfully, but these errors were encountered: