txt: ## adverb.md
  class X::Syntax::Regex::Adverb
  
  Compilation error due to an unrecognized regex adverb
  
  ```raku
  class X::Syntax::Regex::Adverb does X::Syntax { }
  ```
  
  Syntax error thrown when an unrecognized or illegal regex adverb is encountered.
  
  For example
  
  ```raku
  rx:g/a/
  
  ```
  
  dies with
  
  ｢text｣ without highlighting
  
  ```
  
  
  ```
  
  ===SORRY!===
  Adverb g not allowed on rx
  
  
  ```
  
  
  ```
  
  because `:g` belongs to a match operation, not a regex itself.
  
  # [Methods](#class_X::Syntax::Regex::Adverb "go to top of document")[§](#Methods "direct link")
  
  ## [method adverb](#class_X::Syntax::Regex::Adverb "go to top of document")[§](#method_adverb "direct link")
  
  ```raku
  method adverb(--> Str:D)
  ```
  
  Returns the illegally used adverb
  
  ## [method construct](#class_X::Syntax::Regex::Adverb "go to top of document")[§](#method_construct "direct link")
  
  ```raku
  method construct(--> Str:D)
  ```
  
  Returns the name of the construct that adverb was used on (`m`, `ms`, `rx`, `s`, `ss`).
  