Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- BHELP On-Line: CBRIEF Macro Help - search_back ({patt}, [re], [case], [block], [full_len]) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
search_back ({patt}, [re], [case], [block], [full_len])

     Usage: Searches the current buffer backward from the current
            position for a pattern.

Parameters: Patt .string. is the search pattern.  Re .int. is
            non-0 or omitted to use regular expressions, and 0
            to use the pattern literally. If re is non-0, the type
            of regular expression matching is determined by the
            value:

             VALUE   MATCH DIRECTION             CLOSURE
             -----   ---------------             -------
              1      left to right               minimal
              2      direction of search         minimal
              3      right to left               minimal
             -1      left to right               maximal
             -2      direction of search         maximal
             -3      right to left               maximal

            Case .int. is 0 for case insensitive, non-0 for
            case sensitive, and omitted to use the current
            search_case value.  Block .int. is non-0 to confine the
            search to the currently marked block.  Full_len .int. is
            updated to the full length of the pattern matched if it is
            passed in as non-0.  Otherwise, the return value gives
            length of match (based on cursor position after match, NOT
            the full pattern length)

   Returns: 0 if no match found, -1 if error, -2 if huge match
            (more than 65534 characters).  Otherwise, the return value
            is the length of the matched text plus 1.  Note that if
            there is a \c in the pattern, then the length returned is
            the distance from the cursor to the end of the pattern plus
            1.

See Also: search_fwd search_case search_string translate

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson