From 21a8eb1e058f00caf495150993a5d6ebfd06c3d9 Mon Sep 17 00:00:00 2001 From: Tran Hau Date: Fri, 1 May 2020 20:29:23 +0700 Subject: [PATCH] regex --- Brain/regex.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Brain/regex.md b/Brain/regex.md index 4f60d0f..bd82e73 100644 --- a/Brain/regex.md +++ b/Brain/regex.md @@ -9,7 +9,7 @@ Read [Golang-Regex-Tutorial](https://github.com/StefanSchroeder/Golang-Regex-Tut | `.` | any character, default not including `\n` | | `[xy]` | `x` or `y` character | | `[^xy]` | not `x` and `y` character | -| `x|y` | `x` or `y` | +| `x\|y` | `x` or `y` | | `x*` | 0 or more `x`, prefer **more** | | `x+` | 1 or more `x`, prefer **more** | | `x?` | 0 or 1 `x` , prefer 1 |