Obsidian_to_Anki
Obsidian_to_Anki copied to clipboard
Regex docs not up to date for Obsidian extension 3.4.1
trafficstars
Thank you for predicting my workflow and making the this tool!
I'm just getting set up and I hit a snag with the custom regexes. All fixed, on my end but I had a point of confusion in the docs.
- The Regex pages still mention the Regex flag for Obsidian, which was removed with the last release
- The Q/A format regex doesn't work with the Obsidian plugin. My guess is there's compiler a compiler difference between the languages. My non-multiline workaround is below
- Took me a moment to realise it's Obsidian plugin or Python script. This is cool! Could be clearer on the readme
The regex I'm using is:
Q: (.+)\nA: (.+(?:\n(?:^.{1,3}$|^.{4}(?<!<!--).*))*)
Thanks for the effort you've put into this so far,
Michael
I am setting this up but could not figure out where to paste the Regex as mentioned here https://github.com/Pseudonium/Obsidian_to_Anki/wiki/Question-answer-style
Can you please help?
I tried clicking on the Note Type Table text (which did not seem clickable) and found the Basic - Regex and pasted the given Regex and found it was working.