Regex search in phpStorm does not work

General discussions related to php

Moderators: egami, macek, gesf

Post Reply
mstdmstd
New php-forum User
New php-forum User
Posts: 37
Joined: Sun Mar 30, 2014 4:45 am

Sat Jul 22, 2017 6:21 am

Hello,
Can anybody give me a hint why regex search

Code: Select all

$redirect_url[\s]+=
does not work in my case ?
http://imgur.com/a/3ZvAC


for code line :

Code: Select all

$redirect_url = $this->backend_home_url . '/admin/product/index?' . $page_parameters_with_sort;
If to change regex to

Code: Select all

$redirect_url =
it works ok.

Thanks!

User avatar
hyper
php-forum Fan User
php-forum Fan User
Posts: 720
Joined: Mon Feb 22, 2016 5:52 pm

Sat Jul 22, 2017 8:46 am

You'll have to show your code (in [ code] tags using the </> button), and explain what your problem is, i.e. what you hope to achieve and what is and what is not happening when you execute the code.

Post Reply