| $VAR | Match a single AST node and capture it as VAR | | $$$VAR | Match zero or more AST nodes (spread) and capture as VAR | | $ | Anonymous placeholder (matches any single node, no capture) | | $$$ | Anonymous spread placeholder (matches any number of nodes) |
Shell quoting: Escape $ as \$VAR or wrap in single quotes.
javascript, typescript, tsx, html, css, python, go, rust, java, c, cpp, csharp, ruby, php, yaml
يبحث في التعليمات البرمجية حسب أنماط AST ويقوم بإعادة الهيكلة الهيكلية عبر الملفات. يُستخدم عند البحث عن استدعاءات الوظائف، أو استبدال أنماط التعليمات البرمجية، أو إعادة بناء الجملة التي لا يمكن أن يطابقها التعبير العادي بشكل موثوق. المصدر: knoopx/pi.