mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 05:27:39 +01:00
don't parse trailing punctations
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//These are a bunch of regex datums for use /((any|every|no|some|head|foot)where(wolf)?\sand\s)+(\.[\.\s]+\s?where\?)?/i
|
||||
GLOBAL_DATUM_INIT(is_http_protocol, /regex, regex("^https?://"))
|
||||
|
||||
GLOBAL_DATUM_INIT(is_valid_url, /regex, regex("((?:https://.)\[-a-zA-Z0-9@:%._+~#=]{2,256}.\[a-z]{2,6}\\b(?:\[-a-zA-Z0-9@:%_+.~#?&//=]*))", "gm"))
|
||||
GLOBAL_DATUM_INIT(is_valid_url, /regex, regex("((?:https://.)\[-a-zA-Z0-9@:%._+~#=]{2,256}.\[a-z]{2,6}\\b(?:\[-a-zA-Z0-9@:%_+.~#?&//=]*\[^.,?!]))", "gm"))
|
||||
|
||||
Reference in New Issue
Block a user