php-general Digest 30 Jun 2012 17:23:01 -0000 Issue 7871
Topics (messages 318345 through 318346):
Re: log tailing
318345 by: tamouse mailing lists
Re: Depreciation message I can't make out....
318346 by: Daniel Brown
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-gene...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
On Fri, Jun 29, 2012 at 3:49 AM, Mihamina Rakotomandimby
<miham...@rktmb.org> wrote:
> I have a /var/log/messages and /var/log/syslog file to parse to extract
> information from.
>
> I have the to extract the date, and some information in the line.
[snip]
> I just need help on the right regexp function to use.
> Would you know some PHP/regexp tutorials for that?
The best documentation I've ever found on Regexes is O'Reilly's
"Mastering Regular Expressions" (3rd ed is 2006, but REs haven't
changed since then).
<http://shop.oreilly.com/product/9780596528126.do>
Only problem is it is hella expensive. (Well another problem is it is
hella big: >500 pages.)
Apart from that, there are *tons* of tutorials on the net. Just google
up "regular expression tutorials" and you should see pages and pages
of them.
--- End Message ---
--- Begin Message ---
On Thu, Jun 28, 2012 at 8:37 PM, tamouse mailing lists
<tamouse.li...@gmail.com> wrote:
>
> Just a quick followup -- # comments are deprecated for .ini files,
> only, correct? They are still full citizens in php source, aren't
> they?
Correct, Tam.
--
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/
--- End Message ---