Sha256: daf09f4c155c54aad1c298e937e71a83795cea2723a863f968b4d3c6a9081c44
Contents?: true
Size: 334 Bytes
Versions: 2
Compression:
Stored size: 334 Bytes
Contents
module PragmaticSegmenter module Rules module HTMLRules # Rubular: http://rubular.com/r/ENrVFMdJ8v HTMLTagRule = Rule.new(/<\/?[^>]*>/, '') # Rubular: http://rubular.com/r/XZVqMPJhea EscapedHTMLTagRule = Rule.new(/<\/?[^gt;]*gt;/, '') All = [HTMLTagRule, EscapedHTMLTagRule] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pragmatic_segmenter-0.3.3 | lib/pragmatic_segmenter/rules/html.rb |
pragmatic_segmenter-0.3.2 | lib/pragmatic_segmenter/rules/html.rb |