Skip to content

Commit 6410511

Browse files
esmerelcnorris-cs
andauthored
Apply suggestions from code review
Co-authored-by: Craig Norris <[email protected]> Signed-off-by: esmerel <[email protected]>
1 parent dac8832 commit 6410511

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

pipeline/parsers/regular-expression.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Regular Expression
22

3-
The **Regex** parser lets you to define a custom Ruby regular expression that uses
3+
The **Regex** parser lets you define a custom Ruby regular expression that uses
44
a named capture feature to define which content belongs to which key name.
55

66
Use [Tail Multiline](../inputs/tail.md#multiline) when you need to support regexes
@@ -18,7 +18,7 @@ Setting the format to **regex** requires a `regex` configuration key.
1818

1919
## Configuration Parameters
2020

21-
The regex parser supports the following configuration parameters.
21+
The regex parser supports the following configuration parameters:
2222

2323
| Key | Description | Default Value |
2424
| --- | ----------- | ------------- |
@@ -27,10 +27,9 @@ The regex parser supports the following configuration parameters.
2727
Fluent Bit uses the [Onigmo](https://github.com/k-takata/Onigmo) regular expression
2828
library on Ruby mode.
2929

30-
You can only use alphanumeric characters and underscore in group names. For example,
30+
You can use only alphanumeric characters and underscore in group names. For example,
3131
a group name like `(?<user-name>.*)` causes an error due to the invalid dash (`-`)
32-
character. Use the [http://rubular.com/](http://rubular.com/) web editor to test your
33-
expressions
32+
character. Use the [Rubular](http://rubular.com/) web editor to test your expressions.
3433

3534
The following parser configuration example provides rules that can be applied to an
3635
Apache HTTP Server log entry:

0 commit comments

Comments
 (0)