diff options
| author | Fuwn <[email protected]> | 2023-09-21 15:15:35 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-09-21 15:15:45 -0700 |
| commit | c4ce9229eee6beff309e945834b4bc97a2a0aa21 (patch) | |
| tree | fcb4447e326836ece4b6e327ce849eb0c3a85a9b | |
| parent | refactor(suzuri): use constants (diff) | |
| download | suzuri-c4ce9229eee6beff309e945834b4bc97a2a0aa21.tar.xz suzuri-c4ce9229eee6beff309e945834b4bc97a2a0aa21.zip | |
feat(suzuri): regex mode
| -rwxr-xr-x | suzuri | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ if [[ -n "${SUZURI_REVERSE}" ]]; then fi if [[ -n "${SUZURI_MINIMAL}" ]]; then - body="$(echo "${body}" | grep "##" | sed "s/##//" || true)" + body="$(echo "${body}" | grep -oP '^##\K.*' | sed "s/##//" || true)" fi if [[ -n "${SUZURI_RAW}" ]]; then |