github.com/thomasobenaus/nomad@v0.11.1/ui/app/utils/escape-task-name.js (about)

     1  export default function escapeTaskName(taskName) {
     2    // Regular expression is taken from here: https://stackoverflow.com/a/20053121
     3    return taskName.replace(/[^a-zA-Z0-9,._+@%/-]/g, '\\$&');
     4  }