diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-09-04 20:51:54 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-09-05 00:21:14 +0200 |
commit | c1f7b3b57a58c4264cffb6332ef1f985d077ae75 (patch) | |
tree | e0f63adbe913a5916a2b7aa782559aad8af4f431 /include/linux/fib_rules.h | |
parent | 344fa9e69da43ecdc4d8f7768d85d42639352405 (diff) |
lib: remove fixed capture group limit in match() and regex replace()
Instead of supporting only up to 10 potential regular expression captures,
infer the amount of required captures directly from the compiled regexp
structure and allocate the match range array dynamically.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'include/linux/fib_rules.h')
0 files changed, 0 insertions, 0 deletions