php man page for mb_ereg_search_pos

Query: mb_ereg_search_pos

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MB_EREG_SEARCH_POS(3)							 1						     MB_EREG_SEARCH_POS(3)

mb_ereg_search_pos - Returns position and length of a matched part of the multibyte regular expression for a predefined multibyte string

SYNOPSIS
array mb_ereg_search_pos ([string $pattern], [string $option = "ms"])
DESCRIPTION
Returns position and length of a matched part of the multibyte regular expression for a predefined multibyte string The string for match is specified by mb_ereg_search_init(3). If it is not specified, the previous one will be used.
PARAMETERS
o $pattern - The search pattern. o $option - The search option.
RETURN VALUES
An array containing two elements. The first element is the offset, in bytes, where the match begins relative to the start of the search string, and the second element is the length in bytes of the match. If an error occurs, FALSE is returned.
NOTES
Note The internal encoding or the character encoding specified by mb_regex_encoding(3) will be used as the character encoding for this function.
SEE ALSO
mb_regex_encoding(3), mb_ereg_search_init(3). PHP Documentation Group MB_EREG_SEARCH_POS(3)
Related Man Pages
eregi(3) - php
mb_strrpos(3) - php
mb_ereg_replace(3) - php
mb_ereg_replace_callback(3) - php
mb_eregi_replace(3) - php
Similar Topics in the Unix Linux Community
PHP: preg_match_all with multibyte characters?
How to match all array contents and display all highest matched sentences in perl?
search of string from an array in Perl
shell script: longest match from right?
How to search number of occurrences of a particular string in a file through vi editor?