Skip to content
This repository was archived by the owner on Feb 25, 2023. It is now read-only.

Conversation

@alexandrustaetu
Copy link

@alexandrustaetu alexandrustaetu commented Sep 25, 2019

It looks like the service endpoint parser will have trouble extracting methods that have snake case parameters

This is the current regex matching when presenting snake case parameters

alex@computer:~$ echo '    Service endpoint(1:Service some_service) throws (1: Exception exception),' | grep -P '^[\r\t ]*(oneway)?\s*([^\n]*)\s+(\w+)\(([a-zA-Z0-9: ,.<>]*)\)' || echo 'no matches found'

no matches found

This is the updated regex rule

alex@computer:~$ echo '    Service endpoint(1:Service some_service) throws (1: Exception exception),' | grep -P '^[\r\t ]*(oneway)?\s*([^\n]*)\s+(\w+)\(([a-zA-Z0-9: ,.<>_]*)\)' || echo 'no matches found'

    Service endpoint(1:Service some_service) throws (1: Exception exception),

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant