Skip to content

Fix: correct ESCAPABLE_CHARS in query_lang tokenizer#1334

Merged
Computerdores merged 1 commit into
TagStudioDev:mainfrom
hieuit095:main
May 10, 2026
Merged

Fix: correct ESCAPABLE_CHARS in query_lang tokenizer#1334
Computerdores merged 1 commit into
TagStudioDev:mainfrom
hieuit095:main

Conversation

@hieuit095

Copy link
Copy Markdown

was tracing a parsing issue with names containing apostrophes and noticed the ESCAPABLE_CHARS list had a duplicate double-quote where a single-quote should be. fixed it and verified O'Brien now tokenizes correctly.

Summary

Fixes a tokenizer bug where escaped single-quotes inside single-quoted strings were not handled properly due to a typo in ESCAPABLE_CHARS.

Tasks Completed

  • Platforms Tested:
    • Windows x86
  • Tested For:
    • Basic functionality
    • PyInstaller executable
Replace duplicate double-quote with single-quote so that
escaped single quotes inside single-quoted strings are
handled correctly (e.g. 'O''Brien' now tokenizes as O'Brien
instead of O'Brien).

Discovered during automated code review.
@hieuit095

Copy link
Copy Markdown
Author

closing this out. realized it's way too minor to justify spinning up the CI runs. have a good one.

@hieuit095 hieuit095 closed this Apr 2, 2026
@Computerdores Computerdores moved this from ✅ Done to 🍃 Pending Merge in TagStudio Development Apr 2, 2026
@Computerdores Computerdores reopened this May 10, 2026
@Computerdores Computerdores merged commit cdd399e into TagStudioDev:main May 10, 2026
@github-project-automation github-project-automation Bot moved this from 🍃 Pending Merge to ✅ Done in TagStudio Development May 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants