Skip to content

Instantly share code, notes, and snippets.

@Z56B29A2
Z56B29A2 / script.py
Created April 1, 2020 07:03 — forked from efonte/script.py
Disco Elysium texts
import re
strings = set()
with open('texts.txt', mode='r', encoding='utf-8') as file_input:
content = file_input.read()
regExStr = r'^\s*\d string title = "(?:tooltip\d+|Name|Dialogue Text)"\n\s*\d string value = "((?!(START|input|\w+\(\)|\!\(\w+\(\)\))).+)"$'
compiled = re.compile(regExStr, re.MULTILINE)
matched = compiled.finditer(content)
@Z56B29A2
Z56B29A2 / keybase.md
Created November 20, 2019 16:04
keybase proof

Keybase proof

I hereby claim:

  • I am z56b29a2 on github.
  • I am z56b29a2 (https://keybase.io/z56b29a2) on keybase.
  • I have a public key ASBh15MLI4err4FMwhQaSBu4Op1KXjh0OIOF0y1xRKRmxAo

To claim this, I am signing this object: