File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed
Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -436,7 +436,11 @@ touch_format "Foo 2021-05-04 22:57:54 Goo"
436436
437437Get a string' s characters that match a class, with optional offset and length.
438438
439- Syntax: select_character_class < string> < class> [offset [length]]
439+ Syntax:
440+
441+ ` ` ` sh
442+ select_character_class <string> <class> [offset [length]]
443+ ` ` `
440444
441445Example with character class:
442446
@@ -463,7 +467,11 @@ select_character_class foo123goo456 alpha 3 1
463467
464468Get a string' s characters that don' t match a class, with optional offset and length.
465469
466- Syntax: reject_character_class < string> < class> [offset [length]]
470+ Syntax:
471+
472+ ` ` ` sh
473+ reject_character_class <string> <class> [offset [length]]
474+ ` ` `
467475
468476Exapmle with character class:
469477
Original file line number Diff line number Diff line change @@ -1221,7 +1221,10 @@ touch_format() {
12211221
12221222# select_character_class: get a string's characters that match a class, with optional offset and length.
12231223#
1224- # Syntax: select_character_class <string> <class> [offset [length]]
1224+ # Syntax:
1225+ # ```
1226+ # select_character_class <string> <class> [offset [length]]
1227+ # ```
12251228#
12261229# Example with character class:
12271230# ```
@@ -1249,7 +1252,10 @@ select_character_class() {
12491252
12501253# reject_character_class: get a string's characters that don't match a class, with optional offset and length.
12511254#
1252- # Syntax: reject_character_class <string> <class> [offset [length]]
1255+ # Syntax:
1256+ # ```
1257+ # reject_character_class <string> <class> [offset [length]]
1258+ # ```
12531259#
12541260# Example with character class:
12551261# ```
You can’t perform that action at this time.
0 commit comments