Regular expresions

16 views
Skip to first unread message

Diego S

unread,
Dec 20, 2019, 2:22:35 PM12/20/19
to ossec-list
Hi all!

I was wondering the best way to represent a digit between a range and if it is possible to indicate that a digit is going to be repeated a given number of times.

For example a digit between 0 and 3, I mean 0, 1, 2 or 3 thats for the first question.

For the second part, for example the digits between 0 and 3, repeated 14 times. At the common regular expression it will be represented like (0-3){14}

Thanks and Regards.

Diego.

dan (ddp)

unread,
Dec 20, 2019, 4:38:23 PM12/20/19
to ossec...@googlegroups.com
Newer versions of ossec support pcre2. That should work.

--

---
You received this message because you are subscribed to the Google Groups "ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ossec-list/d87e366a-a9ff-4c10-bd6c-592b744f7599%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages