luau-lang / SublimeLinter-luau

SublimeLinter plugin for Luau
MIT License
6 stars 0 forks source link

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

Open CudaText-addons opened 2 years ago

CudaText-addons commented 2 years ago
    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+)): .+)'
zeux commented 2 years ago

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 commented 2 years ago

Yes, then method is needed