Skip to content

Allow ... to match multiple lines#3

Description

@ctheune

I have this output that I want to match flexibly with a single in_order or continuous pattern:

E         馃煝 owrap           | <!DOCTYPE html>
E         馃煝 owrap           | <html lang="en">
E         馃煝 owrap           |   <head>
E         馃煝 owrap           |     <meta charset="utf-8">
E         馃敶 owrap           |     <meta http-equiv="X-UA-Compatible" content="IE=edge">
E         馃煛                 |     <meta name="viewport" content="width=device-width, initial-scale=1.0">
E         馃煛                 |
E         馃煛                 |     <title>Aramaki</title>
E         馃煛                 |
E         馃煛                 |     <!-- Custom styles for this scaffold -->
E         馃煛                 |     <link href="http://example.com/static/aramaki.css?x=1707293617" rel="stylesheet">
E         馃煛                 |
E         馃煛                 |     <script src="http://example.com/static/htmx.min.js?x=1707293617" defer></script>
E         馃煛                 |     <script src="http://example.com/static/hyperscript.min.js?x=1707293617" defer></script>
E         馃煛                 |
E         馃煛                 |   </head>

However, I'd like to not specify the exact number of meta and script tags, but rather use something like this:

<!DOCTYPE html>
<html lang="en">
  <head>
...
    <title>Aramaki</title>
...
  </head>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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