Jump to content

[SOLVED] Error in RegEx Pattern


Zokskorbinian

Recommended Posts

Hi there,

 

i'm just sitting on a LogfileAnalyser.

I haven't done RegEx for a long time so i'm a bit out of practise.

May you guys can find the error in the pattern...

 

here is the pattern:

/^([0-9]*)/(.*)/([a-zA-Z0-9\-_]*)/([a-zA-Z0-9\-_]*)/(IP_[0-9\.]*)/([0-9]*)/([0-9]*)/$/

 

The error given from php:

Warning: preg_match() [function.preg-match]: Unknown modifier '(' in ...

i hope you can help me

Link to comment
https://forums.phpfreaks.com/topic/69008-solved-error-in-regex-pattern/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.