User Tools

Site Tools


playground:plan9_tutorial_sam

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
playground:plan9_tutorial_sam [2021/04/19 21:30] – adding a toy example for regex dspplayground:plan9_tutorial_sam [2021/04/19 21:31] dsp
Line 66: Line 66:
 === Examples for sam regex === === Examples for sam regex ===
 The benefit of sam is that it allows for regex tasks to be chained and also debugged The benefit of sam is that it allows for regex tasks to be chained and also debugged
-easily from within the editor. We will consider a toy example to ident properly some+easily from within the editor. We will consider a toy example to indent properly some
 code of the form code of the form
 <code> <code>
Line 102: Line 102:
     * can you specify a reverse range like #10,#5 ?     * can you specify a reverse range like #10,#5 ?
     * highlight a word. then issue **m+0**. why is this happening? what is **t+0** doing? what if you keep issuing **t+0**?     * highlight a word. then issue **m+0**. why is this happening? what is **t+0** doing? what if you keep issuing **t+0**?
-    * Improve the toy ident example by+    * Improve the toy indent example by
       * making lines align when no opening brace is detected in the end of line       * making lines align when no opening brace is detected in the end of line
       * remove 4 leading spaces if the line has a closing brace       * remove 4 leading spaces if the line has a closing brace
playground/plan9_tutorial_sam.txt · Last modified: 2021/04/20 04:59 by dsp