Rust: Lazy Static Regex
Passing Regex around, helping the compiler keep things optimised.
Hi,
Today I will finally go over how I used the lazy_static crate to help the compiler keep regex optimised.
[Read More]Looking at Regex in Rust (Addendum)
Hi. In my previous article Looking at Regex in Rust. I covered some basics. Today I will go over some new things that I have learned, as I expanded on things that my regex expression needs to handle. In particular the need to handle the possible existence or none existence of qualifiers +
,-
,~
,?
.
Looking at Regex in Rust
If you have been following this series, you might know that I am playing with SPF records. I have turned my eye to a
and mx
mechanisms. As I started looking at the a
mechanism. I noticed that my current approach using the standard string functions would probably be fairly difficult to implement. So I started to think about using the Regex crate. So this will be a look at how that went. The challenges and the things that I took away from the experience.
Generic Regex Match Function Multiple Groups
If you have read my previous posts; you might know I am currently working on a new project to move some services to a self-hosted solution. As part of this, I have been working on dealing with unicode
characters in regex.
In relation to this I have found that I am writing the same function repeatedly. The only difference being the number matches being returned. So I decided we need to refactor this.
[Read More]Working with double-byte regex expressions with Python3
As part of my project Self Hosted Zapier Alternative; I am having to deal with doing regex searches against the three Japanese written forms, Kanji, Hiragana and Katakana.
[Read More]