Skip to the content.

Home


Technical

The Katagiri Transcripts website is written in Markdown using BBEdit for Mac, and is hosted on GitHub Pages.

PDF export is provided using the BBStylish template for BBEdit.

Text to speech support is provided by NaturalReaders.

BBEdit Find/Replace Patterns

These are the find/replace grep or regex patterns that I’m using in BBEdit, to aid in maintaining the references. Note: these are not foolproof; they must be used intelligently and with caution. Still, who knows, maybe including these here will help someone some day.

Pattern Name Search Pattern Replace Pattern
first occurrences (?<!#|\]\()\b(zazen)\b(?s)(.*?##) [\1](glossary#zazen)\2
first occurrences plural (?<!#|\]\()\b(buddha(s?))\b(?s)(.*?##) [\1](glossary#buddha)\3
occurrences (?<!#|\]\()\b(zazen)\b [\1](glossary#zazen)
unlinked occurrences: (?<![\[#-])\b(zazen)\b(?![\]-]) [\1](glossary#zazen)
links by text \[(zazen)\]\(.*?\) \1
links by reference \[([^\[\]\(\)\n]*?)\]\(glossary#zazen\) \1
all links \[[^\]\n]*\]\([^\)\n]*\)  
all non-link brackets \[[^\]\n]*\](?!\()  
all brackets \[(.*?)\](?=\(?)  
all brackets 2 \[[^\]\n]*\]  
(T|t)athagata(s?) \b(T|t)athagata(s?)\b \1athāgata\2

BBEdit Clippings

Glossary Link With Selection [#SELECT#](glossary##SELECT#)#INSERTION#
Markdown Link Insert [#SELECT#](#CLIPBOARD#)#INSERTION#

Home