Changeset 119731 for trunk/doc-new


Ignore:
Timestamp:
May 5, 2014, 6:00:17 AM (5 years ago)
Author:
jmr@…
Message:

guide: fix unquoted brackets in livecheck.regex example

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc-new/guide/xml/portfile-livecheck.xml

    r105189 r119731  
    178178        <para>Regular expression to parse the resource for regex checks. Be
    179179        sure to use a regular expression grouping around the version
    180         component.</para>
     180        component. Also remember that square brackets need to be quoted because Tcl
     181        otherwise interprets them as a procedure call.</para>
    181182
    182183        <itemizedlist>
     
    188189            <para>Example:</para>
    189190
    190             <programlisting>livecheck.regex     4th-([a-z0-9.]+)-unix${extract.suffix}</programlisting>
     191            <programlisting>livecheck.regex     4th-(\[a-z0-9.\]+)-unix${extract.suffix}</programlisting>
    191192
    192193            <!-- TODO: add more examples -->
Note: See TracChangeset for help on using the changeset viewer.