This means using or | statements within the pattern, it gets quite long so if your log file is not getting any false positives you might just stick to a simpler pattern. You have to account for the fact that the max number is 255 in each octet position. If you want an even more accurate regex pattern to match an ip address, it gets quite complex and lengthy.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |