Add Ruby Regexp link

This commit is contained in:
cryptogopher 2023-05-27 21:46:18 +02:00
parent 38490c5f33
commit 287ba2b928

View File

@ -34,8 +34,9 @@ Caption generating code can be freely modified. It can even
process additional options passed to @{% raw %}{% highlight %}{% endraw %}@ tag. process additional options passed to @{% raw %}{% highlight %}{% endraw %}@ tag.
Options are only allowed to consist of alphanumeric characters and underscore. Options are only allowed to consist of alphanumeric characters and underscore.
Passing file path as option requires loosening this restriction. We allow any Passing file path as option requires loosening this restriction. We allow any
non-blank character, except those used to control option format (options are "non-blank character":https://ruby-doc.org/current/Regexp.html, except those
allowed to be expressed as: _name_, _name=value_ and _name="quoted list"_) used to control option format (options are allowed to be expressed as: _name_,
_name=value_ and _name="quoted list"_)
{% highlight ruby caption=_plugins/highlight-caption-option.rb %} {% highlight ruby caption=_plugins/highlight-caption-option.rb %}
module HighlightCaption module HighlightCaption