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

better RegEx which won't need overridden Python method #1

Open
CudaText-addons opened this issue Oct 7, 2022 · 2 comments
Open

better RegEx which won't need overridden Python method #1

CudaText-addons opened this issue Oct 7, 2022 · 2 comments

Comments

@CudaText-addons
Copy link

    regex = r'^stdin:(?P<line>\d+)\.(?P<col>\d+)\-(?P<end_line>\d+)\.(?P<end_col>\d+): (?P<message>((?P<error>\w+Error)|(?P<warning>\w+)): .+)'
@CudaText-addons CudaText-addons changed the title simpler RegEx which won't need overridden Python method better RegEx which won't need overridden Python method Oct 7, 2022
@zeux
Copy link
Collaborator

zeux commented Oct 7, 2022

I think we'd still need to add 1 to end_col in the Python method unless there's a separate lint option for that?

@Alexey-T
Copy link

Alexey-T commented Oct 7, 2022

Yes, then method is needed

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

No branches or pull requests

3 participants