From 6397c203f61ff24279a02f7076b91052f33ab431 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Estev=C3=A3o=20Soares=20dos=20Santos?= Date: Sun, 20 Mar 2022 15:34:16 +0000 Subject: [PATCH] docs(events): fix typo in properties --- docs/event_system.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/event_system.md b/docs/event_system.md index 9d3a6e3..7a8ea52 100644 --- a/docs/event_system.md +++ b/docs/event_system.md @@ -24,7 +24,7 @@ Each subparser raises several events sequentially: |----------|-----------|------------|--------------------------------------------------------------------| | input | string | read | The full text that was passed to the subparser | | output | string | write | The full text with modification that will be passed along the chain| - | regex | null | | | + | regexp | null | | | | matches | null | | | Usually you would want to use this event if you wish to change the input to the subparser @@ -42,7 +42,7 @@ Each subparser raises several events sequentially: |----------|-----------|------------|--------------------------------------------------------------------| | input | string | read | The captured text | | output | string | write | The text that will be passed to the subparser/other listeners | - | regex | RegExp | readonly | Regular Expression used to capture groups | + | regexp | RegExp | readonly | Regular Expression used to capture groups | | matches | object | read/write | Matches groups. Changes to this object are reflected in the output | Usually you would want to use this event if you wish to modify a certain subparser behavior. @@ -60,7 +60,7 @@ Each subparser raises several events sequentially: |------------|-----------|------------|--------------------------------------------------------------------------------| | input | string | read | The captured text | | output | string | write | The text that will be passed to the subparser/other listeners | - | regex | RegExp | readonly | Regular Expression used to capture groups | + | regexp | RegExp | readonly | Regular Expression used to capture groups | | matches | object | read/write | Keypairs of matches groups. Changes to this object are reflected in the output | | attributes | object | read/write | Attributes to add to the HTML output | @@ -76,7 +76,7 @@ Each subparser raises several events sequentially: |----------|------------|------------|--------------------------------------------------------------------| | input | string | read | The captured text | | output | string | write | The text that will be passed to the subparser/other listeners | - | regex | null | | | + | regexp | null | | | | matches | null | | | Usually you would want to use this event if you wish change the subparser output before it is hashed @@ -93,7 +93,7 @@ Each subparser raises several events sequentially: |----------|-----------|------------|--------------------------------------------------------------------| | input | string | read | The partial/full text with the subparser modifications | | output | string | write | The text that will be passed to other subparsers | - | regex | null | | | + | regexp | null | | | | matches | null | | | Usually you would want to use this event if you wish change the subparser hashed output @@ -115,7 +115,7 @@ These events are always guaranteed to be called, regardless of options or circum |----------|-----------|------------|--------------------------------------------------------------------| | input | string | read | The full text that was passed to the subparser | | output | string | write | The full text with modification that will be passed along the chain| - | regex | null | | | + | regexp | null | | | | matches | null | | | 2. **.after**.{subparserName}: *always runs*; @@ -128,7 +128,7 @@ These events are always guaranteed to be called, regardless of options or circum |----------|-----------|------------|--------------------------------------------------------------------| | input | string | read | The partial/full text with the subparser modifications | | output | string | write | The text that will be passed to other subparsers | - | regex | null | | | + | regexp | null | | | | matches | null | | |