diff options
author | Oran Agra <oran@redislabs.com> | 2022-06-12 16:00:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-12 16:00:17 +0300 |
commit | 05833959e3875ea10f9b2934dc68daca549c9531 (patch) | |
tree | dff5b7e2aa9e891e5b324aa89b20857eb1338fe0 /utils/generate-module-api-doc.rb | |
parent | 2667c41235069baae1d87541c7839a8fa5cfbb97 (diff) | |
parent | 1973558b63dd7354841c8a12fb9d4107ac7eaa4e (diff) | |
download | redis-05833959e3875ea10f9b2934dc68daca549c9531.tar.gz |
Merge pull request #10851 from oranagra/release7027.0.2
Release 7.0.2
Diffstat (limited to 'utils/generate-module-api-doc.rb')
-rwxr-xr-x | utils/generate-module-api-doc.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/generate-module-api-doc.rb b/utils/generate-module-api-doc.rb index 1f7b7c2e5..d4282cbfa 100755 --- a/utils/generate-module-api-doc.rb +++ b/utils/generate-module-api-doc.rb @@ -20,7 +20,7 @@ def markdown(s) # Add backquotes around RedisModule functions and type where missing. l = l.gsub(/(?<!`)RedisModule[A-z]+(?:\*?\(\))?/){|x| "`#{x}`"} # Add backquotes around c functions like malloc() where missing. - l = l.gsub(/(?<![`A-z])[a-z_]+\(\)/, '`\0`') + l = l.gsub(/(?<![`A-z.])[a-z_]+\(\)/, '`\0`') # Add backquotes around macro and var names containing underscores. l = l.gsub(/(?<![`A-z\*])[A-Za-z]+_[A-Za-z0-9_]+/){|x| "`#{x}`"} # Link URLs preceded by space or newline (not already linked) |