TOOLSP
"
WELCOME !

Please ! Use [CODE] tags for your LINKS and CODE.
Favor usar balisas [CODE] para sus vínculos y código.
Merci d'utiliser les balises [CODE] pour vos liens et code.

[code]http://Thank.you[/code]
"
*** GITHUB & UPDATES ***
.
.
URL Resolver (elD.) [GIT]
.
.
URL Resolver (tvA.) [GIT]
.
.
.
.
Jx Update [REDIRECT]
.
.
*** Associated ***
.
Pastebin Your list online
.
mediafire Upload Files
.
imgur Upload Pics
lyngsat TV logos collection
transparent .png
.
http://hola.org free? VPN
Hola.apk free? VPN App.
.
hidester- free Proxy
.
webgrabplus EPG - Eng
xmltv EPG - Fr
kazer EPG - Fr
.
.wordreference Traduction
.
mail.com (fast sign-in)
.
.
Latest topics
» Where is my community ? WANTED : GEEKS !
Fri 5 Jan - 18:00 by jujuuj

» Show image
Fri 29 Dec - 9:29 by jujuuj

» list sorting by watched
Wed 20 Dec - 19:03 by vbprofi

» Need to Help for the 3 regex
Thu 14 Dec - 16:32 by beezlo

» how I can fix that?
Wed 13 Dec - 0:33 by vbprofi

» Link sharing post gone from TVadd°n
Tue 12 Dec - 5:54 by jujuuj

» Where to put your list
Sun 10 Dec - 2:20 by mahox

FRIENDS / PARTNERS

forum

créer un forum


(?s) Don't worry about \n

View previous topic View next topic Go down

(?s) Don't worry about n

Post by Admin on Sun 16 Apr - 15:10

(?s)  = single line it allow you to to use dot . as if the whole page was a single line. So you don't have to worry about \n  (new line)

example :
if the source code is ...

title="simpson"  BLAHBLAH
link="video.link/1232345"  blablabla
alt="a stupid title"  patatipatata
thumb="http://thumb.com/7777" onemoreblahblah

then, this
<expres>(?s)title="(.*?)".*?link="(.*?)".*?thumb="(.*?)"</expres>
will work and return :
param1 = simpson
param2 = video.link/1232345
param3 = http://thumb.com/7777

... without  this  (?s)
the expres would have been :
<expres>title="(.*?)".*?\nlink="(.*?)".*?\n.*?\nthumb="(.*?)"</expres>
and this \n.*?\n is used to skip the line " alt="a stupid title"  patatipatata "

Admin

Messages : 36
Date d'inscription : 2017-03-28

View user profile http://toolsp.forumactif.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum