Closed DrDaveD closed 3 years ago
I found that my first attempt was done very incorrectly, as shown by the failure of go test. I changed it to take a different approach, still using the standard framework pattern but extending it by replacing the '@' with the additional characters to support. I also removed the '^' from the pattern in case there was something else I didn't understand, making it the minimal change.
@impl Could you please take a look at my pull requests?
@DrDaveD sorry for the slow response - we'll get these reviewed this week! Thanks for the PRs!! 👍
I force-pushed an update with just one commit, in order to put the commit message in ESlint format.
GenericNameWithAtRegex only allows 3 extra characters beyond alphanumeric: comma, period, and
@
. That was very limiting for me because I needed to make up the path from two different pieces, one of which could contain all those characters, and I needed a way to delimit between the two pieces. This PR extends the allowed characters to include additional ones that I could think of which were not special to either shells (when not at the beginning of a word) or urls. I am planning to use colon as the delimiter but while I was at it I thought I might as well include others. Also for completeness I began the regex with '^'.