Module: FoodFishParser::Flat::AquacMethod
- Defined in:
- lib/food_fish_parser/flat/aquac_method.rb
Constant Summary collapse
- REGEX =
/ ( kwekerij(?:en)? | \bkweekvijvers? | \bvijvers?(?:\s*\/\s*bassins?)? | \b(?:open\s+)? kooien (?: \s+in\s+zee | \s+in\s+rivier )? | \bdoorstroomsystemen | \b(?:open\s+)? hangcultuur | \bgekweekt\s+in\s+netten ) \b /ix
Class Method Summary collapse
Class Method Details
.find_all(text) ⇒ Object
18 19 20 21 22 23 |
# File 'lib/food_fish_parser/flat/aquac_method.rb', line 18 def self.find_all(text) text .scan(REGEX) .flatten .map {|s| { text: s } } end |