Skip to content

Search with regex replacement #3456

@ficristo

Description

@ficristo

I tried the search demo here: http://codemirror.net/demo/search.html.
I wanted to replace some char with a newline:

  • pressed Ctrl-Shift-R
  • written <dd> in the text box and pressed enter
  • written \n in text box and pressed enter

Actual result:
<dt id="option_indentWithTabs"><code><strong>indentWithTabs</strong>: boolean</code></dt>
\nWhether, when indenting, the first N*<code>tabSize</code>

Expected result:
<dt id="option_indentWithTabs"><code><strong>indentWithTabs</strong>: boolean</code></dt>

Whether, when indenting, the first N*<code>tabSize</code>

I tried with /<dd>/ but the result was the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions