##! Please refer to the documentation at
##! https://coreruleset.org/docs/development/regex_assembly/.

##!+ i

create\s+function\s.+\sreturns

##!> assemble

  ##! matching the injection start
  ;\s*?

  ##!=>
  alter
  create
  delete
  desc
  drop
  insert
  load
  rename
  select
  truncate
  update
  ##!=>

  ##! matching function/object parameters syntax
  \b\s*?[\[(]?\w{2,}
  ##!=>
##!<
