Programmer's WorkBench (pwb.hlp) (Table of Contents; Topic list)
Aligning Tagged Expressions
                                             Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     To align a tagged regular expression, use the following syntax in
     the replacement string:
 
     UNIX          Non-UNIX
 
     \(width,n)    $(width,n)
 
     The <width> is the field size (negative for left alignment), and
     <n> is the number of the tagged expression to align.
 
     PWB justfies the tagged text according to the following rules:
 
       ■  If <width> is greater than the length of the tagged text, PWB
          right aligns the tagged expression within the field and pads
          the field with leading spaces.
 
       ■  If <width> is negative and its magnitude is greater than the
          length of the text, PWB left aligns the expression and pads
          the field with trailing spaces.
 
       ■  If <width> is less than or equal to the length of the text,
          PWB uses the whole text and does not pad the field. PWB never
          truncates aligned text.
 
     See
 
     Tagged Regular Expressions
                                    -♦-