module Hizuke::DynamicPatternMatcher

def check_dynamic_patterns(text)

Returns:
  • (Hizuke::Result, nil) - the result or nil if no match

Parameters:
  • text (String) -- the text to check
def check_dynamic_patterns(text)
  # Try each pattern type
  check_days_patterns(text) ||
    check_weeks_patterns(text) ||
    check_months_patterns(text) ||
    check_years_patterns(text)
end