MB_EREG_SEARCH_INIT(3) 1 MB_EREG_SEARCH_INIT(3)mb_ereg_search_init - Setup string and regular expression for a multibyte regular expression matchSYNOPSIS
bool mb_ereg_search_init (string $string, [string $pattern], [string $option = "msr"])
DESCRIPTION mb_ereg_search_init(3) sets $string and $pattern for a multibyte regular expression. These values are used for mb_ereg_search(3),
mb_ereg_search_pos(3), and mb_ereg_search_regs(3).
PARAMETERS
o $string
- The search string.
o $pattern
- The search pattern.
o $option
- The search option.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
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_regs(3).
PHP Documentation Group MB_EREG_SEARCH_INIT(3)
Can somebody point me in the direction of a reliable, open-source, free regular expression interpreter that runs on NT and is easily consumed from C/C++.
I'll be happy to add this functionality to an event driven batch scheduler on our NT network.
I didn't know wher I can fit this topic... I... (4 Replies)
Hi all,
I'm working with flex (version 2.5.4a) on GNU/linux. I need to frame a regular expression which would match cases where word "file" does not occur. Negated character class wont work for me because they enforce "or" clause between different chars (so something like wont work). I would like... (5 Replies)
Hi All,
This regular expression is in awk.
What does this regular expression evaluate to(character by character).
($0 ~ /^ .+*(|-).+*\*+.?*\*/) (2 Replies)
Hi,
I am looking for a Perl regular expression to match the below pattern of a java script file.
var so = object.device.load('camera','value');
I want to grep out such lines present in the *.js files. The conditions are:
a) the line may start with blank space(s)
b) always the... (3 Replies)
Hi, I am rather new to Unix/Linus. I have this problem that I would like to solve using unix.
Here is what I have
start stop expression
1 5 15
2 6 10
I want a output like this
position expression
1 15
2 25
3 ... (3 Replies)
Hello All,
I have a requirement to match a dynamic url and extract each of the directory and page and store it -Only PERL style Regular EXP as it will be used in informatica - REG_EXTRACT function
Example Input URLs:
1)... (2 Replies)
Pls. advise what is the meaning of below expression...
if ($filename =~ /x(+), + bytes/)
--with the 1st enclosed parenthesis...
/x(+)
this will match/filter all the filenames with any character, number, or underscore, and /x modifiers means I can put whitespace characters (like... (2 Replies)
I trying to match the begining of the following line in a perl script with a regular expression.
$ENV{'ORACLE_HOME'}
I tried this regluar expession:
/\$ENV\{\'ORACLE_HOME\'\}/
Instead of match, I got a blank prompt >
It seems to be a problem with the single quote. If I take it... (11 Replies)
Hi,
I am trying to write a regular expression in perl to match pattern like "ab1-cd1"(<alphabet><alphabet><number>-<alphabet><alphabet><number>) as below.
m/^++-++?$/
but seems not working.
Can anyone help me? (3 Replies)
Could anyone of you please guide me on making correct regular expression to match the exact word or character
I have some numbers like 12345780 extn 1234
1234567 x 43545
13245678 Extn 454857
if * ]]; then
VAR3=`echo "$NUMBER" | nawk -F "*" '{print $1 $2}'`
... (4 Replies)
Hello,
I don't understand why my regular expression doesn't work.
simply I want to check a phone number of 8 digits doesn't start with 0
regex1='^({1})({7})$'
if
then
------
fi
for example this number should be valid 12345678
and this 01234567 or 1234567 not
... (6 Replies)
Please suggest a regular expression to match "check_geomtools.exe:" and check if the file contains ".lib" in the entire path.
The string is as follows:
E:\gtmproj\script\i486_nt\obj\check_geomtools.exe: o:\portsrc\spg\system_1\i486_nt\advapps\TK-2\objmt\winclockmtq.lib (2 Replies)
Hi everybody,
I just start my learning about Linux.
So, if you can help me, it would be very good !
I have already find the possibility to find the position of a character regular expression in a line with the help of awk :
test.txt is : AAAAAGHIJKLAjKMEFJKLjklABCDJkLEFGHIJKL
My script is... (2 Replies)