code: private static SQLPatternPart unparsedStreamModifierClauses() {
          // Force the leading space to go inside the repeat block.
          return SPF.capture(SPF.repeat(makeInnerStreamModifierClausePattern(false))).withFlags(SQLPatternFactory.ADD_LEADING_SPACE_TO_CHILD);
      }
docs: Build a pattern segment to recognize all the EXPORT or PARTITION modifier clauses
  of a CREATE STREAM statement.
  
  @return Pattern to be used by the caller inside a CREATE STREAM pattern.
  
  Capture groups:
  (1) All EXPORT/PARTITION modifier clauses as one string