Top Description Fields Constructors Methods
org.jabref.model.search.rules

public Class RegexBasedSearchRule

extends FullTextSearchRule
Class Inheritance
Annotations
@AllowedToUseLogic:Because access to the lucene index is needed
Imports
java.util.EnumSet, .Optional, java.util.regex.Matcher, .Pattern, .PatternSyntaxException, org.jabref.architecture.AllowedToUseLogic, org.jabref.model.entry.BibEntry, org.jabref.model.entry.field.Field, org.jabref.model.search.rules.SearchRules.SearchFlags, org.jabref.model.strings.StringUtil, org.slf4j.Logger, .LoggerFactory

Search rule for regex-based search.

Field Summary

Modifier and TypeField and Description
private static final Logger
Inherited from org.jabref.model.search.rules.FullTextSearchRule:
lastPdfSearchResultslastQuerysearchFlags

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
public boolean
Inherited from org.jabref.model.search.rules.FullTextSearchRule:
getFulltextResultsgetSearchFlags

Field Detail

LOGGERback to summary
private static final Logger LOGGER

Hides org.jabref.model.search.rules.FullTextSearchRule.LOGGER.

Constructor Detail

RegexBasedSearchRuleback to summary
public RegexBasedSearchRule(EnumSet<SearchRules.SearchFlags> searchFlags)

Method Detail

applyRuleback to summary
public boolean applyRule(String query, BibEntry bibEntry)

Implements org.jabref.model.search.rules.SearchRule.applyRule.

Annotations
@Override
validateSearchStringsback to summary
public boolean validateSearchStrings(String query)

Implements org.jabref.model.search.rules.SearchRule.validateSearchStrings.

Annotations
@Override