Trying to sync optional tag

Before the error happened, I was…
[Replace this text.]

Error message (don't change this)
Anki 23.12.1 (1a1d4d54)  (ao)
Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: macOS-13.2.1-arm64-arm-64bit

Traceback (most recent call last):

  File "aqt.taskman", line 142, in _on_closures_pending

  File "aqt.taskman", line 86, in <lambda>

  File "aqt.taskman", line 106, in wrapped_done

  File "/Users/sydneyfleishman/Library/Application Support/Anki2/addons21/1322529746/gui/browser/browser.py", line 513, in on_done
    future.result()

  File "concurrent.futures._base", line 439, in result

  File "concurrent.futures._base", line 391, in __get_result

  File "concurrent.futures.thread", line 58, in run

  File "/Users/sydneyfleishman/Library/Application Support/Anki2/addons21/1322529746/gui/browser/browser.py", line 521, in <lambda>
    task=lambda: _reset_optional_tag_group(extension_id=extension_id),

  File "/Users/sydneyfleishman/Library/Application Support/Anki2/addons21/1322529746/gui/browser/browser.py", line 529, in _reset_optional_tag_group
    _remove_optional_tags_of_extension(extension_config)

  File "/Users/sydneyfleishman/Library/Application Support/Anki2/addons21/1322529746/gui/browser/browser.py", line 548, in _remove_optional_tags_of_extension
    aqt.mw.col.tags.bulk_remove(note_ids=nids, tags=" ".join(tags_for_tag_group))

  File "anki.tags", line 67, in bulk_remove

  File "anki._backend_generated", line 2117, in remove_note_tags

  File "anki._backend", line 166, in _run_command

anki.errors.InvalidInput: <pre>Compiled regex exceeds size limit of 10485760 bytes.</pre>

Sentry link (for developers)

We’re aware of this issue and the fix will be out soon: