You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'll preface this by saying I am not a developer or even a CS student. This might even be the first GitHub issue I've ever posted. The code I have is not complete or working but may help you get 1% closer to where you need to be if you're interested in the project,
There are no good AHK extensions that have a built-in regex testing tool. I think this is important since the regex testing tools all use a bit of a different flavor of regex. I also think the extensions recognize regex's differently since they're inside of functions in a different way in AHK v2 than in a lot of other languages from what I can tell.
One of the simple tools I've tried to recreate in AHK is this: https://github.com/[chrmarti/vscode-regex](https://github.com/chrmarti/vscode-regex). Unfortunately, I haven't gotten it working. My initial approach was just to add a AHK v2 regex line just like the other regex lines. That didn't recognize the regex used by AHK v2. I recreated the regex using regex testing tools like Regxr but could not get it working with the extension. I had a difficult time getting a Typescript regex to recognize the regex string in AHK v2. I even tried to use a few different extensions to see if their syntax recognition tokenized a AHK v2 regex. I looked at THQBY's syntax, which I think has been developed in part from your syntax, but the only thing was the recognition of the built-in regex functions and "=~" which do not actually find the regex.
Nice, seems like a great feature :) should be do-able since it's been done for other languages for sure. Gonna keep focusing on bugs for the next few months probably, but this is officially on the backlog!
Is your feature request related to a problem? Please describe.
I'll preface this by saying I am not a developer or even a CS student. This might even be the first GitHub issue I've ever posted. The code I have is not complete or working but may help you get 1% closer to where you need to be if you're interested in the project,
There are no good AHK extensions that have a built-in regex testing tool. I think this is important since the regex testing tools all use a bit of a different flavor of regex. I also think the extensions recognize regex's differently since they're inside of functions in a different way in AHK v2 than in a lot of other languages from what I can tell.
One of the simple tools I've tried to recreate in AHK is this: https://github.com/[chrmarti/vscode-regex](https://github.com/chrmarti/vscode-regex). Unfortunately, I haven't gotten it working. My initial approach was just to add a AHK v2 regex line just like the other regex lines. That didn't recognize the regex used by AHK v2. I recreated the regex using regex testing tools like Regxr but could not get it working with the extension. I had a difficult time getting a Typescript regex to recognize the regex string in AHK v2. I even tried to use a few different extensions to see if their syntax recognition tokenized a AHK v2 regex. I looked at THQBY's syntax, which I think has been developed in part from your syntax, but the only thing was the recognition of the built-in regex functions and "=~" which do not actually find the regex.
Here's an example of what I did:
https://github.com/TrueCrimeAudit/ahk-regex
Would love to help if you are interested but as you can see, I have a few skill issues limiting me.
The text was updated successfully, but these errors were encountered: