Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/fortran/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Regex 带textpad的多行正则表达式_Regex_Multiline_Textpad - Fatal编程技术网

Regex 带textpad的多行正则表达式

Regex 带textpad的多行正则表达式,regex,multiline,textpad,Regex,Multiline,Textpad,我不知道如何让textpad执行扩展多行的正则表达式 我尝试使用perl语法和/myregex/m并用m作为修饰符,但这不起作用。我在编辑器中看不到复选框或任何指示它执行多行操作的内容 有人有什么想法吗?完全有可能,而且很简单:)您只需使用\n 此搜索: we\nwill 匹配此虚拟文本中第1行的结尾和第2行的开头: this is a test and we will see if it matches multiple lines. 另一种方法是使用[\s\s]。例如,如果要在某些HTM

我不知道如何让textpad执行扩展多行的正则表达式

我尝试使用perl语法和/myregex/m并用m作为修饰符,但这不起作用。我在编辑器中看不到复选框或任何指示它执行多行操作的内容


有人有什么想法吗?

完全有可能,而且很简单:)您只需使用
\n

此搜索:

we\nwill
匹配此虚拟文本中第1行的结尾和第2行的开头:

this is a test and we
will see if it matches
multiple lines.

另一种方法是使用[\s\s]。例如,如果要在某些HTML中查找
标记,可以搜索:

<option[^>]*>[\s\S]*?</option>
]*>[\s\s]*?

我最后只使用了visual studio…别提这个问题:/