Re: [9fans] Re: A learners sam cheat sheet

2024-08-22 Thread Mathieu Bivert
Hi, I think it's a typo in the cheat sheet; at least for s///, \i is the correct syntax to reference "tagged patterns": % echo foo bar | ssam 's/([a-z]+) ([a-z]+)/\2 \1/' bar foo I lack familiarity with sam/sam's language to be certain, but I doubt it'd make much sense to have it for other c

[9fans] Re: A learners sam cheat sheet

2024-08-21 Thread kalterdev
> # substitute #'th tagged pattern Are there any examples? I can't find any in Pike's papers. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tc2ebea6bfef26073-M8aa6c884325788677721755e Delivery options: https://9fans.topicbox.com/groups/