FOSSology  4.6.0
Open Source License Compliance by Open Source Software
match Struct Reference

Store the results of a regex match. More...

#include <scanners.hpp>

Collaboration diagram for match:
Collaboration graph

Public Member Functions

 match (const int s, const int e, const string &t, bool enabled=true)
 

Public Attributes

const int start
 
const int end
 
const string & type
 
bool is_enabled
 

Detailed Description

Store the results of a regex match.

Definition at line 28 of file scanners.hpp.

Member Data Documentation

◆ end

int match::end

End position of match

Definition at line 35 of file scanners.hpp.

◆ is_enabled

bool match::is_enabled

True if the match is an active copyright finding; false if it was removed by a cleanup/exception rule and should be stored as deactivated.

Definition at line 46 of file scanners.hpp.

◆ start

int match::start

Start position of match

Definition at line 35 of file scanners.hpp.


The documentation for this struct was generated from the following file: