@dmnks commented on this pull request.


> @@ -121,6 +121,7 @@ various common operations.
 | `%{lower:...}`   | lowercase a string | 4.19.0
 | `%{rep:...}`     | repeat a string (see Lua `string.rep()`) | 4.19.0
 | `%{reverse:...}` | reverse a string | 4.19.0
+| `%{span:...}`    | as-is string, handy for wrapping multiline macros | 6.0.0

> ...the %1 inside the span will get expanded when _%foo() is _used_

Yep, that's the confusing part since the doc says about the body of that macro 
that it's an "as-is string", whereas what it does is specifically discard 
newlines :dizzy_face: 

> Confusing enough? 😄

Just a little bit :smile: 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3677#discussion_r2022502274
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3677/review/2732089...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to