Skip to content

Commit

Permalink
Update regex.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pew authored May 27, 2024
1 parent 573a3c9 commit 19a178a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions man/regex.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ this will match everything after `repos/`, the `K` is important here. the `.*` s

to use it in editors like bbedit, use `^[\s]*$\n`

## remove blank space end of line

```
\s+$
```

## google re2 / golang(?)

match `foo.example.com` and `foo-bar.example.com`:
Expand Down

0 comments on commit 19a178a

Please sign in to comment.