sesaparcours
    Preparing search index...

    Function convertRestriction

    • Transforme une restriction de string en RegExp

      Parameters

      • restriction: string
      • Optionaloptions: { flags?: string } = {}
        • Optionalflags?: string

          flags à ajouter à la regex retournée

      Returns RegExp

      La regexp correspondante à chars (nettoyée) entre crochets, avec échappements nécessaires