© 2026 Hashnode
It’s possible to use RegEx inside a lambda function in Python. You can apply this to any Python method or function that takes a function as a parameter. Such functions and methods include filter(), map(), any(), sort(), and more. Keep reading as I sh...

By Luis Santiago Before Lambda expressions support was added by JDK 8, I’d only used examples of them in languages like C# and C++. Once this feature was added to Java, I started looking into them a bit closer. The addition of lambda expressions adds...
