Skip to content

[pull] main from ankidroid:main#766

Merged
pull[bot] merged 1 commit intobkzhn:mainfrom
ankidroid:main
Mar 25, 2026
Merged

[pull] main from ankidroid:main#766
pull[bot] merged 1 commit intobkzhn:mainfrom
ankidroid:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Mar 25, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

* New study screen
* Enable setting: "Type answer into card"
* A 'type' card with the back containing: "$"

caused:

"java.lang.IllegalArgumentException: Illegal group reference"

Fixed by using `Regex.escapeReplacement` as recommended in the docs

https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.text/-regex/replace.html

The lambda .replace() overload was also an option, but I wanted to be
 explicit about the intent

Fixes 20575

Assisted-by: Claude Opus 4.6
 Very minor: created the base test file
@pull pull bot locked and limited conversation to collaborators Mar 25, 2026
@pull pull bot added the ⤵️ pull label Mar 25, 2026
@pull pull bot merged commit 8c32d3a into bkzhn:main Mar 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant