NoWhitespace
文法規則のパターン中に空白文字がないことを表す.
詳細

- FixedOrder[GrammarToken["a"],NoWhitespace,GrammarToken["b"]]は,両者の間に空白文字がない場合にのみ,GrammarToken["a"]にGrammarToken["b"]が続くものにマッチする,
例題
すべて開く すべて閉じる例 (1)
デフォルトで,FixedOrderは一連の要素間に任意の空白文字が入ることを許す:
NoWhitespaceを使ってトークンの間に空白文字が入らないようにする:
考えられる問題 (1)
文法の適用に際して,要素間に自然な切れ目がないときは要素を認識できないことがある:
代りにStringExpressionを使う:
関連するガイド
テキスト
Wolfram Research (2015), NoWhitespace, Wolfram言語関数, https://reference.wolfram.com/language/ref/NoWhitespace.html.
CMS
Wolfram Language. 2015. "NoWhitespace." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/NoWhitespace.html.
APA
Wolfram Language. (2015). NoWhitespace. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NoWhitespace.html
BibTeX
@misc{reference.wolfram_2025_nowhitespace, author="Wolfram Research", title="{NoWhitespace}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/NoWhitespace.html}", note=[Accessed: 18-September-2025]}
BibLaTeX
@online{reference.wolfram_2025_nowhitespace, organization={Wolfram Research}, title={NoWhitespace}, year={2015}, url={https://reference.wolfram.com/language/ref/NoWhitespace.html}, note=[Accessed: 18-September-2025]}