Advertisement
Guest User

Troll Quirk Regex Solutions for Pesterchum

a guest
Sep 19th, 2011
16,414
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. From https://github.com/kiooeht/pesterchum/blob/master/trollquirks.mkdn due to lack of availability at times.
  2.  
  3. Troll Quirks
  4. ============
  5.  
  6. Karkat
  7. ------
  8.  
  9. REGEXP: "(.)"
  10. REPLACED WITH: "upper(\1)"
  11.  
  12.  
  13. Aradia
  14. ------
  15.  
  16. REGEXP: "[oO]"
  17. REPLACE WITH: "0"
  18.  
  19.  
  20. #####After Prototyping
  21.  
  22. RANDOM REGEXP: "\s"
  23. REPLACED WITH: " ribbit ", " ", " ", " ", " ", " ", etc....
  24.  
  25.  
  26. Tavros
  27. ------
  28.  
  29. REGEXP: "\b(\w)(\w*)"
  30. REPLACED WITH: "lower(\1)upper(\2)"
  31.  
  32.  
  33. REGEXP: "\.?"
  34. WITH: ","
  35.  
  36.  
  37. Sollux
  38. ------
  39. #####Pre-blind
  40.  
  41. REGEXP: "[iI]"
  42. REPLACE WITH: "\1\1"
  43.  
  44.  
  45. REGEXP: "[sS]"
  46. REPLACE WITH: "2"
  47.  
  48.  
  49. REGEXP: "\btoo?\b"
  50. REPLACE WITH: "two"
  51.  
  52.  
  53. #####Blind
  54.  
  55. REGEXP: "[oO]"
  56. REPLACE WITH: "0"
  57.  
  58.  
  59. Nepeta
  60. ------
  61.  
  62. PREFIX: ":33 < "
  63.  
  64.  
  65. REGEXP: "[eE][eE]"
  66. REPLACE WITH: "33"
  67.  
  68.  
  69. Kanaya
  70. ------
  71.  
  72. REGEXP: "\b(\w)"
  73. REPLACE WITH: "upper(\1)
  74.  
  75.  
  76. Terezi
  77. ------
  78.  
  79. REGEXP: "[aA]"
  80. REPLACE WITH: "4"
  81.  
  82.  
  83. REGEXP: "[iI]"
  84. REPLACE WITH: "1"
  85.  
  86.  
  87. REGEXP: "[eE]"
  88. REPLACE WITH: "3"
  89.  
  90.  
  91. REGEXP: "(.)"
  92. REPLACE WITH: "upper(\1)"
  93.  
  94.  
  95. Vriska
  96. ------
  97.  
  98. REGEXP: "[bB]"
  99. REPLACE WITH: "8"
  100.  
  101.  
  102. RANDOM REGEXP: "([aeiouAEIOU])"
  103. REPLACE WITH: "\1\1\1\1\1\1\1\1", "\1", "\1", "\1", "\1", "\1", etc........
  104.  
  105.  
  106. RANDOM REGEXP: "([\.\?,!]$)"
  107. REPLACE WITH: "\1\1\1\1\1\1\1\1", "\1", "\1", "\1", "\1", "\1", etc........
  108.  
  109.  
  110. REPLACE: ":"
  111. WITH: "::::"
  112.  
  113.  
  114. Keep in mind that the RANDOM REGEXP ones require the extra "\\1"s to be added in order to not happen all the time. If you want those quirks to happen less often, add more "\\1".
  115.  
  116. Equius
  117. ------
  118.  
  119. PREFIX: "D --> "
  120.  
  121.  
  122. REGEXP: "[lL][oO][oO]"
  123. REPLACE WITH: "100"
  124.  
  125.  
  126. REGEXP: "[xX]"
  127. REPLACE WITH: "%"
  128.  
  129.  
  130. REGEXP: "(\b[sS][tT][rR][oO][nN][gG]\w*)"
  131. REPLACE WITH: "upper(\1)"
  132.  
  133.  
  134. REGEXP: "[oO][oO]"
  135. REPLACE WITH: "00"
  136.  
  137.  
  138. Gamzee
  139. ------
  140. #####Version 1: "HoNk HoNk"
  141.  
  142. REGEXP: "([a-zA-Z])([a-zA-Z]?)"
  143. REPLACED WITH: "upper(\1)\2"
  144.  
  145.  
  146. #####Version 2: "HoNk hOnK"
  147.  
  148. REGEXP: "([\w\s])([\w\s]?)"
  149. REPLACED WITH: "upper(\1)\2"
  150.  
  151.  
  152. Eridan
  153. ------
  154.  
  155. REGEXP: "([vVwW])"
  156. REPLACE WITH: "\1\1"
  157.  
  158.  
  159. REGEXP: "ing\b"
  160. REPLACE WITH: "in"
  161.  
  162.  
  163. Feferi
  164. ------
  165.  
  166. REGEXP: [hH]
  167. REPLACE WITH: ")("
  168.  
  169.  
  170. REPLACE: "E"
  171. WITH: "-E"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement