Comments (2)
Okay, I see that the matcher for the protocol will optionally match any a-z string followed by :, and then //. I guess I assumed from the docs that a valid protocol was one that was also known (which I realize isn't well-defined in itself). Maybe the answer to this is to just clarify what the definition of a valid protocol is in the docs. I could also see an option to only match a certain set of well-known or user-provided protocols being a solution too.
from url-regex-safe.
almost same problem with uppercase Site.Com regex dont understand or Site.com
will be ite.com
from url-regex-safe.
Related Issues (20)
- Grab safe-url-regex to prevent type-squatting HOT 1
- Matches email addresses (within a larger string) with default options HOT 3
- High CPU usage compared to 'url-regex' HOT 1
- Fails to install on MacOS with M1 processors HOT 2
- closing bracket on wikipedia links is ignored HOT 2
- Browser support HOT 7
- Regex not matching URLS HOT 1
- Invalid port HOT 2
- Issue with Email Addresses Getting pulled In HOT 4
- Not working with TypeScript HOT 3
- trailingPeriod setting not honored on subdomains HOT 7
- re2 breaks builds HOT 2
- Capture group support?
- url regex unsafe HOT 1
- Install fails because "re2" dependency can't find Python HOT 3
- jest malloc errors HOT 6
- Extra characters at the end HOT 3
- Add option to not use `re2` even if it's in the dependency tree HOT 3
- Support closing parentheses in URLs do not match HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from url-regex-safe.