Skip to content

Commit

Permalink
1.3.11 release: more generalization for AmuseLabs key regex.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpd236 committed Nov 6, 2023
1 parent 7310305 commit c019286
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

group = "com.jeffpdavidson.kotwords"
version = "1.3.11-SNAPSHOT"
version = "1.3.11"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ private val PUZZLE_DATA_REGEX = """\bwindow\.(?:puzzleEnv\.)?rawc\s*=\s*'([^']+)
private val KEY_REGEX = """var [a-zA-Z]+\s*=\s*"([0-9a-f]{7,})"""".toRegex()
private val KEY_DIGIT_REGEX = """.push\((\d+)\)""".toRegex()

private val KEY_2_ORDER_REGEX = """i=(\d+);i<t.length;i\+=""".toRegex()
private val KEY_2_DIGIT_REGEX = """t.length\?(\d+)""".toRegex()
private val KEY_2_ORDER_REGEX = """[a-z]+=(\d+);[a-z]+<[a-z]+.length;[a-z]+\+=""".toRegex()
private val KEY_2_DIGIT_REGEX = """<[a-z]+.length\?(\d+)""".toRegex()

private val ROWS_REGEX = """Row \d+: """.toRegex(RegexOption.IGNORE_CASE)
private val BANDS_REGEX = """[^:]*band: """.toRegex(RegexOption.IGNORE_CASE)
Expand Down

0 comments on commit c019286

Please sign in to comment.