diff --git a/website/data/release-groups.txt b/website/data/release-groups.txt index 0650078e..95426bf7 100644 --- a/website/data/release-groups.txt +++ b/website/data/release-groups.txt @@ -1638,6 +1638,7 @@ PtP PTpOWeR PtS PTTeam +PublicHD Pudding PUKKA Purana diff --git a/website/scripts/escape.groovy b/website/scripts/escape.groovy new file mode 100644 index 00000000..031bdd0f --- /dev/null +++ b/website/scripts/escape.groovy @@ -0,0 +1,7 @@ +net.sourceforge.filebot.cli.CLILogging.CLILogger.setLevel(java.util.logging.Level.OFF) + +console.printf('Enter: ') +def s = console.readLine() + +// ‘$’, ‘`’, or ‘\’ +console.printf('%n"' + s.replaceAll('["$`\\\\]', {'\\'+it}) + '"%n')