View Single Post
  #5  
Old 26.11.2017, 04:40
madmax2 madmax2 is offline
JD VIP
 
Join Date: Sep 2009
Posts: 385
Default

Quote:
Originally Posted by raztoki View Post
question mark character in regex is used as a may or may not pre present situation. Working example: 'a{0,1}b == a?b' will match b and ab

try googling for some regex materials, this website isn't bad _**External links are only visible to Support Staff**
Just to clarify, but is the ? (question mark) a wildcard in regex?


So does this example is valid or not?

Regex = a?b
matches = aaab, aaaaaaaab

Real Example..

regex = ?youtube?

matches

Code:
https://www.youtube.com
www.youtube.com
youtube.com
youtube.com/?sklajdlksaj
youtubessssss.com

====

what website?
all I see is this

_**External links are only visible to Supporters**

Why does jdownloader forum hide links?
it is very annoying when I try to use some website examples
and it hides it, had to a added a code tag.
Reply With Quote