HarelKatz
981371e98d
docs: update Extract IP description for Include defanged arg
2026-05-15 20:04:37 +03:00
HarelKatz
44e06ab4d7
refactor: thread defang-aware separators through Extract IP addresses
...
Adds an "Include defanged" boolean arg (default false) and refactors
the IPv4/IPv6/removeLocal regex assembly to use dotSep/colonSep
variables. With the arg off the variables collapse to the original
literal separators, so the regex string is byte-identical to the
pre-change op. Behaviour unchanged; no new tests yet.
2026-05-15 19:52:59 +03:00
gchqdev364
288cd8f063
Updated warning now that original issue has been resolved.
2025-05-12 14:24:07 +00:00
gchqdev364
e9b182d33b
Added look ahead and look behind to avoid over capture.
2025-05-12 14:18:01 +00:00
gchqdev364
bfec582aee
Using code to generate regex string procedurally to improve readability.
2025-05-12 13:35:39 +00:00
gchqdev364
159b80e853
Added explicit tests for IPv4 addresses in decimal or octal.
2025-05-12 13:02:29 +00:00
BlacAmDK
362755b22f
Fix ExtractIPAddresses IPv6 regexp
...
IPv6 regexp shouldn't match IPv4 address.
2023-12-05 14:40:37 +08:00
n1474335
9a982f05ac
Extract operations now offer built-in Sort and Unique options. Unique operation offers option to count occurances. Closes #1334 .
2022-04-14 18:08:16 +01:00
n1474335
566517d20f
Imports now specify the file extension to support Node v12
2019-07-09 12:23:59 +01:00
n1474335
b760c2f1a0
ESM: Fixed OperationError detection and tidied up ops.
2018-05-16 10:17:49 +01:00
Matt C
b3ee251ee3
ESM: Port Extract.js module
2018-05-15 16:30:17 +01:00