Donate Share

Colorer Library

Subscribe

need help with \M \m regex tags

You are viewing a single message from this topic. View all messages.

  1. 2009-09-20 16:45:12 UTC

    aha... i think i have it...

    it seems to mean 'the string reported to be the result of the regex will start at the position marked with \m'

    i used it in a block start/end to eliminate the leading space off of the pairs

    <block start="/(?: |^)\m(?{def:Keyword}if)\M(?: |(|$)/" end="/(?: |^)\m(?{def:Keyword}fi)\M(?: |$)/" scheme="generalcodescheme" region="def:empty" region00="PairStart" region10="PairEnd"/>

< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.