# π¦ PutoutScript > **Among the maxims on Lord Naoshigeβs wall there was this one: βMatters ofβ great concern should be treated lightly.β > Master lttei commented, βMatters of small concern should be treated seriously.β** > > **(c) Yamamoto Tsunetomo "Hagakure"** π¦**PutoutScript** β **JavaScript**-compatible language which adds additional meaning to [`Identifiers`](https://github.com/coderaiser/putout/blob/master/docs/the-book-of-ast.md#identifier) in AST-template. It is supported by all types of [**πPutout plugins**](https://github.com/coderaiser/putout/tree/master/packages/engine-runner#supported-plugin-types). Take a look at [rule syntax](https://github.com/coderaiser/putout/tree/master/packages/compare#supported-template-variables) for more information. - βοΈ *In the command line, patterns are specified with a flag `--transform`.* - βοΈ *Read more about AST nodes in [**The Book of AST**](https://github.com/coderaiser/putout/blob/master/docs/the-book-of-ast.md#the-book-of-ast)*. ## Pattern matching Pattern matching searches code for a given pattern. For example, the expression pattern `say('hello π')` can match a full expression or be part of a subexpression: `loud(say('hello π'))` In the same way, the **Statement Pattern** `return __` can match a [**Statement**](https://github.com/coderaiser/putout/blob/master/docs/the-book-of-ast.md#expression-and-statement) in a `function` or on any level of nesting: ```js const when = () => { if (isTime()) return 'now'; return 'later'; }; ``` ## `__` The double low dush template value (`__`) abstracts away [`Identifiers`](https://github.com/coderaiser/putout/blob/master/docs/the-book-of-ast.md#identifier), [`Expressions`](https://github.com/coderaiser/putout/blob/master/docs/the-book-of-ast.md#expression-and-statement) and [`Literals`](https://github.com/coderaiser/putout/blob/master/docs/the-book-of-ast.md#literal). ## `__a` **Linked Value** (`__a`) abstracts away [`Identifiers`](https://github.com/coderaiser/putout/blob/master/docs/the-book-of-ast.md#identifier), [`Expressions`](https://github.com/coderaiser/putout/blob/master/docs/the-book-of-ast.md#expression-and-statement) and [`Literals`](https://github.com/coderaiser/putout/blob/master/docs/the-book-of-ast.md#literal). ## `__args` The `__args` value abstracts away a sequence of zero or more arguments, for `(__args) => __a`: ```js (a, b, c) => a + b + c; ``` ## `__args__a` `__args` can be linked. **Linked args** can be used to link to values with the same [`Expressions`](https://github.com/coderaiser/putout/blob/master/docs/the-book-of-ast.md#expression-and-statement), [`Identifiers`](https://github.com/coderaiser/putout/blob/master/docs/the-book-of-ast.md#identifier) or [`Literals`](https://github.com/coderaiser/putout/blob/master/docs/the-book-of-ast.md#literal)): `((__args__a) => __c(__args__a))(__args__b)` will find: ```js fn(value); ``` But not: ```js ((a) => fn(42))(value); ``` ## Function calls Use the `__args` template value to search for function calls with arguments. For example, the pattern `sey(__args)` finds calls regardless of its arguments. ```js say('hello π'); ``` ## Method calls The `__args` template value can also be used to search for method calls. For example, the pattern `__object.say(__args)` matches: ```js crocodile.say('hello π'); ``` The `__` template value can also be used for the function name. Indeed, In some cases, you may want to match any function definitions: regular functions, methods, but also arrow functions. In that case you can use `__` in place of the name of the function to match named or anonymous functions. For example, the pattern `function __(__a) {}` will match any function with one parameter: ```js function say(a) { return 'hello π'; } const talk = function(a) { return 'hello π'; }; ``` ## Strings The `"__a"` template value can be used to search for strings containing any data. The pattern `crocodile.say("__a")` matches: ```js crocodile.say('hello π'); ``` This also works with constant propagation. T he pattern `/__a/` will match any regular expression construct: ```js const animalRegExp = /π|π¦/; ``` ## JSX There is a base support of JSX in template values, this template `