Skip to content

llFindNotecardTextSync

Function Syntax
list llFindNotecardTextSync(
  1. string NotecardName,
  2. string Pattern, // Regex pattern to find in the notecard text.
  3. integer StartMatch, // The number of matches to skip before returning values.
  4. integer Count, // The maximum number of matches to return. If 0 this function will return the first 64 matches found.
  5. list Options // A list of options to control the search. Included for future expansion, should be []
);

Searches the text of a cached notecard for lines containing the given pattern.

Returns a list of line numbers and column where a match is found. If the notecard is not in

the cache it returns a list containing a single entry of NAK. If no matches are found an

empty list is returned.