Closed ildar closed 1 month ago
That regex issue you link is for allowing changing the letters case in the pattern checker module.
But your request doesn't seems to require that.
A configuration like this should work:
"Test": {
"regex": "^https?(:\/\/(git\\.socketmobile\\.com|salsa\\.debian\\.org|gitlab\\.freedesktop\\.org|gitlab\\.gnome\\.org|git\\.gnu\\.io)/.*$)",
"replacement": "labcoat$1"
}
(You could also use a more generic "^https?(://gitlab\\.[^.]*\\.com/.*$)"
if you prefer)
yes, found that Template checker
module after filing the issue. Will try
it.
Sorry for the noise.
Don't worry. I'll close this issue, since the feature you request is available. But feel free to ask for more help here if needed.
Describe a related problem (optional)
No response
Describe your suggested feature
I'd like to see URLChecker converting (roughly)
https://gitlab.something.com
tolabcoat://gitlab.something.com
. This is what e.g. https://gitlab.com/nomadlabs/deeplinks/ awkwardly does.Describe alternatives you've considered for your suggested feature
I guess if Regex worked, that would kinda solve the issue.
Other details
No response
Acknowledgements