Commit Graph

7 Commits

Author SHA1 Message Date
Nuri Jung
471b46312f
Add general example and remove details
This adds a general, platform independent example before the more detailed
example.

Also removes details about the reason of the platform dependency of some
non-standard regular expressions, and replaces it with a hyperlink to the related
Zsh document.
2020-07-03 15:10:57 +09:00
Nuri Jung
b2211d5c14
Remove unnecessary trailing words 2020-07-02 00:52:19 +09:00
Nuri Jung
c98632431a
Change document structure
This changes document structure and adds comments for the platform-dependency
of regular expressions.

Fixes #746.
2020-07-02 00:49:57 +09:00
Nuri Jung
d7d9f8fddc
Add comments for BSD-based platform users
In BSD-based platform such as macOS, the metacharacters with leading "\" are not supported.
This adds comments for users with those OS, to avoid confusing results.

Also changes the wrong associative array name in the example(s).
2020-07-01 21:38:38 +09:00
Sean Wei
4fb570e104
docs: Enable Syntax Highlighting for Code Snippits 2019-01-13 16:12:41 +08:00
Tobias Sette
3dc74b5c2c pattern, regexp: Declare the variable in the documentation example
Fixes #590.
2018-12-14 10:21:55 +00:00
disarmer mk
4e6f60063f Add regexp highlighter 2017-12-09 16:17:22 -06:00