Skip to content
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

TableScriptingRowProcessor to support unicode #25

Open
JustCodeJJ opened this issue Mar 29, 2021 · 0 comments
Open

TableScriptingRowProcessor to support unicode #25

JustCodeJJ opened this issue Mar 29, 2021 · 0 comments

Comments

@JustCodeJJ
Copy link

JustCodeJJ commented Mar 29, 2021

For TableScriptingRowProcessor.java

private static Pattern groovyFormPattern = Pattern
.compile("\$\[((.?)(@\w+).?)\]", Pattern.DOTALL | Pattern.MULTILINE);

we need to change this to

private static Pattern groovyFormPattern = Pattern
        .compile("\\$\\[((.*?)(@[\\w+\\W+][^.]*).*?)\\]", Pattern.DOTALL | Pattern.MULTILINE);

This will help in supporting the unicode names for the list.
Sample : $[@dgtag_test标签List.blahblah1]

Currently list comes as dgtag_testList

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant