× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The stab in the dark looks to be right the way I read Bob's article and
the
API documentation.

Consider Bob's statement: "The number of elements in this data
structure
array must be greater than or equal to the value in parameter 3."

Also, the API documentation for parameter 3 says: "The nmatch value is
the
number of substrings in string that the regexec() function should try
to
match with subexpressions in preg."

I reckon you only get one match because you've only asked it for one.

Umm... I asked for %Elem(match), which is more than one in this case.
(Can't remember; it was 3 or 5.) But thanks for the reply. Evidence of
this is in the fact that regexec() actually updates all elements of the
array. It wouldn't know to do that otherwise.

I have read Scott's response, and I think he nailed it; I was under the
wrong impression about how the match works.

Regards,
Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"Don't knock the weather; nine tenths of the people couldn't start a
conversation if it didn't change once in a while."
-- Kin Hubbard





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.