Skip to content

AI Search Gap: Multi-Word Regular Expression Search in RadPdfProcessing - #808

Merged
YoanKar merged 2 commits into
masterfrom
dess-ai-search-gap-01
Sep 10, 2026
Merged

AI Search Gap: Multi-Word Regular Expression Search in RadPdfProcessing#808
YoanKar merged 2 commits into
masterfrom
dess-ai-search-gap-01

Conversation

@dessyordanova

Copy link
Copy Markdown
Collaborator

Decision
Recommend — Add a section and code sample to libraries/radpdfprocessing/features/search.md explaining multi-word search, regex options, whitespace and line-break normalization (" "), and page-boundary constraints. Confidence: High
Gap: Incomplete content and missing examples

Why
Customer need: Clear instruction and examples for performing multi-word and regular expression searches in RadPdfProcessing, including reasons why visible phrases might not match and how whitespace is handled. Current gap: The documentation at libraries/radpdfprocessing/features/search.md only presents API signatures in tables without demonstrating multi-word regex patterns or explaining that text within pages is normalized with space separators (" "), that searches are isolated per page, and that WholeWordsOnly modifies the regex pattern. AI Search fills this void by hallucinating incorrect reasons ("hidden formatting", "non-breaking spaces not matched by \s+"). Preferred approach: Update the existing authoritative article libraries/radpdfprocessing/features/search.md with a "Regular Expression and Multi-Word Search" section, code example, and technical notes on text extraction and page boundaries. Not selected: Creating a separate KB article was rejected because search.md is already the primary authoritative documentation page for TextSearch and currently lacks narrative guidance.

Decision
Recommend — Add a section and code sample to libraries/radpdfprocessing/features/search.md explaining multi-word search, regex options, whitespace and line-break normalization (" "), and page-boundary constraints.
Confidence: High
Gap: Incomplete content and missing examples

Why
Customer need: Clear instruction and examples for performing multi-word and regular expression searches in RadPdfProcessing, including reasons why visible phrases might not match and how whitespace is handled.
Current gap: The documentation at libraries/radpdfprocessing/features/search.md only presents API signatures in tables without demonstrating multi-word regex patterns or explaining that text within pages is normalized with space separators (" "), that searches are isolated per page, and that WholeWordsOnly modifies the regex pattern. AI Search fills this void by hallucinating incorrect reasons ("hidden formatting", "non-breaking spaces not matched by \s+").
Preferred approach: Update the existing authoritative article libraries/radpdfprocessing/features/search.md with a "Regular Expression and Multi-Word Search" section, code example, and technical notes on text extraction and page boundaries.
Not selected: Creating a separate KB article was rejected because search.md is already the primary authoritative documentation page for TextSearch and currently lacks narrative guidance.
@dessyordanova dessyordanova self-assigned this Sep 4, 2026
@YoanKar
YoanKar merged commit 6a2cc77 into master Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants