Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Silver
New Contributor II

Reg. Expression

Dear All,

 

Anyone can clear me about what is reg.expression in fortigate and how's it working exactly. In which situation we can use this config. And how to configure it

 

Thanks

1 Solution
ede_pfau
SuperUser
SuperUser

A 'reg. expression' in the context of filters is a Regular Expression, i.e. a means of expressing a search pattern. You can find numerous articles on REs on the web (Wikipedia,...) as well as sites where you can test your RE online, or tutorials.

 

Tools that understand REs are mainly derived from Unix: vi, sed, (e)grep. In Windows, findstr understands REs. Many (script) languages offer RE support, like python, perl, awk.

 

In contrast to REs so called 'wildcard' patterns only use very few placeholders like '*' and '?'. Here, the meaning of these placeholders are different from their meaning in REs. Wildcard patterns are used in the DOS/Windows console.

 

Hope this gets you on the right track.

Ede Kernel panic: Aiee, killing interrupt handler!

View solution in original post

Ede Kernel panic: Aiee, killing interrupt handler!
1 REPLY 1
ede_pfau
SuperUser
SuperUser

A 'reg. expression' in the context of filters is a Regular Expression, i.e. a means of expressing a search pattern. You can find numerous articles on REs on the web (Wikipedia,...) as well as sites where you can test your RE online, or tutorials.

 

Tools that understand REs are mainly derived from Unix: vi, sed, (e)grep. In Windows, findstr understands REs. Many (script) languages offer RE support, like python, perl, awk.

 

In contrast to REs so called 'wildcard' patterns only use very few placeholders like '*' and '?'. Here, the meaning of these placeholders are different from their meaning in REs. Wildcard patterns are used in the DOS/Windows console.

 

Hope this gets you on the right track.

Ede Kernel panic: Aiee, killing interrupt handler!
Ede Kernel panic: Aiee, killing interrupt handler!
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors