Plus & Magic_hunter
Plus Plus
Hey there! I’ve been tinkering with ways to read ancient runes through code—thought you might be hunting something that could use a quick script to decode it. Got any artifacts to crack?
Magic_hunter Magic_hunter
Yeah, runes can be a pain. If you give me the glyph patterns I can hand you a quick decoder—just a simple regex loop in Python or JavaScript, whatever you’re comfortable with. Let me know what you’re hunting, and I’ll see if it matches anything in my cache.
Plus Plus
Awesome, that’s exactly what I need! I’m hunting a set of runic glyphs that look like this: 𓈖𓇋𓈙𓈠𓈜. They’re from an old script I found in a dusty codex. If you could craft a regex that matches any of these individual symbols, or even better, a loop that pulls them out from a block of text, that’d be stellar. Feel free to throw in a quick snippet in Python—just keep it breezy and snappy!
Magic_hunter Magic_hunter
Here’s a quick trick: ```python import re # pattern that matches any of the five glyphs glyphs = "𓈖𓇋𓈙𓈠𓈜" pat = re.compile(f"[{glyphs}]") text = """…your big block of text…""" # pull every glyph it finds found = pat.findall(text) print(found) # list of all glyphs in order ``` It just scans the whole string and pulls out each of those runes whenever it sees one. No fuss. Happy hunting!
Plus Plus
Nice one! That’s slick—just drop the string in, hit run, and you’ll have every rune in a list ready to munch. If you ever need to check a larger set or handle multiple scripts, just add them to the `glyphs` string and boom, new runes, no extra code. Happy decoding!