diff options
author | Scott Lahteine <thinkyhead@users.noreply.github.com> | 2020-08-28 03:38:43 +0300 |
---|---|---|
committer | Scott Lahteine <thinkyhead@users.noreply.github.com> | 2020-08-28 03:39:46 +0300 |
commit | d336f50bd0253cc2eb9a7eb697d55f38c6cd010d (patch) | |
tree | 559b8c132f394b96b736af1e600f614149f0d909 /_plugins | |
parent | be15558e0668efd6103b6ebe941d6151aa977e4d (diff) |
Remove ignored from search string
Diffstat (limited to '_plugins')
-rw-r--r-- | _plugins/marlinfw_filter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_plugins/marlinfw_filter.rb b/_plugins/marlinfw_filter.rb index 47d94aaa..2524263c 100644 --- a/_plugins/marlinfw_filter.rb +++ b/_plugins/marlinfw_filter.rb @@ -8,7 +8,7 @@ module Jekyll some = some.gsub("“", '"') some = some.gsub("-", ' ') some = some.gsub(/\b([a-z]{,2})\b/, '') - some = some.gsub(/\b(a(ll|nd|re(n't)?)|but|can('t|not)?|d(id|oes)(n't)?|end|for|ha(d|s|ve)(n't)?|it'?s|odd|use[ds]?|even|from|man?y|more|much|some|this|tha[nt]|th[eo]se|the([mny]|ir|re|y're)?|(was|were)(n't)?|wh(at|en|ere|ich|o|y)|will|won't|other|users?|people|(al)?though|your?|one|two)\b/, '') + some = some.gsub(/\b(a(ll|nd|re(n't)?)|but|can('t|not)?|d(id|oes)(n't)?|end|for|ha(d|s|ve)(n't)?|it'?s|odd|use[ds]?|even|from|man?y|more|much|some|this|tha[nt]|th[eo]se|the([mny]|ir|re|y're)?|(was|were)(n't)?|wh(at|en|ere|ich|o|y)|will|won't|other|users|people|(al)?though|your?|one|two)\b/, '') some = some.gsub(/!\[[^\]]+\]\([^\)]+\)\s*(\{[^\}]+\})?/, ' ') some = some.gsub(/\[([^\]]+)\]\([^\)]+\)\s*(\{[^\}]+\})?/, '\1') some = some.gsub(/\\q/, '\1') |