Hello there,
I'm trying to write a simple regex for a map where only the first part of a string should match. I went through the documentation, which unfortunately didn't have much examples.
Heres what I'm trying to achieve -
map $string $redirct_string{
"~^abc*$" 1;
}
I also tried to change the regex to a simple "abc*", but it didn't work. Please let me know where am I going wrong.
Thank you for your answer.