cross
Foswiki General Assembly will be held on 12th December 2019, 1200 UTC on Freenode IRC channel #foswiki-association. See AgendaTenthGeneralAssembly
This question about Not sure...: Asked

How can I search for a string spanning multiple lines in the formattersearch?

We use foswiki as our internal team tool. While creating a formatted search we need to search over terms that span multiple lines in the pages.. for example:

<verbatim>

|this is a sample line

spans multiple lines..|

</verbatim>

Now when searching for the text between the pipes, the regex fails due to the newline.

How can I search over multiple lines in formatted search?

What we tried:

[\n]*, $n.

Please guide.

QuestionForm edit

Subject Not sure...
Extension
Version
Status Asked
Topic revision: r1 - 03 Mar 2011, NikhilWanpal - This page was cached on 03 Dec 2019 - 14:36.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy