re2go

package
v0.0.0-...-25b8d04 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Code generated by re2c 3.1, DO NOT EDIT.

Code generated by re2c 3.1, DO NOT EDIT.

Code generated by re2c 3.1, DO NOT EDIT.

Code generated by re2c 3.1, DO NOT EDIT.

Code generated by re2c 3.1, DO NOT EDIT.

Code generated by re2c 3.1, DO NOT EDIT.

Code generated by re2c 3.1, DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsFirstLast

func ContainsFirstLast(input string) bool

Original pattern: (?i)(first|last)

func FixTempNewline

func FixTempNewline(input string) string

Original pattern: \s*\|\\/\|\s*

func IsByline

func IsByline(input string) bool

Original pattern: (?i)byline|author|dateline|writtenby|p-author

func IsExtraneousToPagination

func IsExtraneousToPagination(input string) bool

Original pattern: (?i)print|archive|comment|discuss|e[\-]?mail|share|reply|all|login|sign|single|as one|article|post|篇

func IsMightBeLinkPagination

func IsMightBeLinkPagination(input string) bool

Original pattern: (?i)p(a|g|ag)?(e|ing|ination)?(=|\/)[0-9]{1,2}$

func IsMightBePagination

func IsMightBePagination(input string) bool

Original pattern: (?i)pag(e|ing|inat)

func IsNegativeToBePagination

func IsNegativeToBePagination(input string) bool

Original pattern: (?i)combx|comment|com-|contact|foot|footer|footnote|masthead|media|meta|outbrain|promo|related|shoutbox|sidebar|sponsor|shopping|tags|tool|widget

func IsNextPaginationLink(input string) bool

Original pattern: (?i)(next|weiter|continue|>([^\|]|$)|»([^\|]|$))

func IsPositiveToBePagination

func IsPositiveToBePagination(input string) bool

Original pattern: (?i)article|body|content|entry|hentry|main|page|pagination|post|text|blog|story

func IsPrevPaginationLink(input string) bool

Original pattern: (?i)(prev|early|old|new|<|«)

func IsTerminatingBlocks

func IsTerminatingBlocks(input string) bool

func IsUnlikelyCandidates

func IsUnlikelyCandidates(input string) bool

Original pattern: (?i)-ad-|ai2html|banner|breadcrumbs|combx|comment|community|cover-wrap|disqus|extra|footer|gdpr|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager|popup|yom-remote

func MaybeItsACandidate

func MaybeItsACandidate(input string) bool

Original pattern: (?i)and|article|body|column|content|main|shadow

func RemoveDtmCharacters

func RemoveDtmCharacters(input string) string

Original pattern: (?i)[\?\!\.\-\:]+

func TidyUpPunctuation

func TidyUpPunctuation(input string) string

Original pattern: \s+([.?!,;])\s*(\S*)

func UseFullWordCounter

func UseFullWordCounter(input string) bool

Original pattern: [\x{3040}-\x{A4CF}]

func UseLetterWordCounter

func UseLetterWordCounter(input string) bool

Original pattern: [\x{AC00}-\x{D7AF}]

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL