NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Multiline regexp search


Joined: 28 Nov 2011
Posts: 2
Location: DN, Ukraine
Reply with quote
Hi, everyone!

Help pls to find in project all includes of smarty block {literal} that contains text Test_text inside with \r\n symbols ignore.

Need to find
{literal}asd{Test_Text}asd{/literal}

{literal}
zxc!a
asd{Test_Text}asd
zxc
{/literal}

{literal}
asd{Test_Text}asd
{/literal}

How can I use regexp modifier //s in regexp multiline search?

nuSphere PhpEd 6.2 (build 6233eval)

Thanks for your answers.
View user's profileFind all posts by japan007Send private message


Joined: 28 Nov 2011
Posts: 2
Location: DN, Ukraine
Reply with quote
(?s)literal.*Test_Text.*\/literal in a singleline search mode break the problem
View user's profileFind all posts by japan007Send private message
Multiline regexp search
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic