Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WordpressFinder ¶
type WordpressFinder struct { // Words is a list of words that identify WordPress patterns. These could be plugins, urls, etc. Words []string // Regex is the combined Words but with a regex pattern for searching Regex *regexp.Regexp }
WordpressFinder is a type for finding related WordPress patterns in the given HTML.
func NewWordpressPatternFinder ¶
func NewWordpressPatternFinder() *WordpressFinder
NewWordpressPatternFinder creates a new WordpressPatternFinder instance with default configuration.
func (*WordpressFinder) Find ¶
func (wpf *WordpressFinder) Find(html string) []string
Find returns a list of matched HTML that contains the WordPress identifiers.
Click to show internal directories.
Click to hide internal directories.