Using RegExp to Create Optimistic Search for an Igbo Dictionary API

Опубликовано: 17 Апрель 2026
на канале: Ijemma Onwuzulike
219
19

I made a Regular Expression-generating utility function for searching Igbo words. I'm using regex is so that if an Igbo word with no accented characters gets passed into an API, it should match with accented words. This makes the search experience more user friendly since it's more optimistic with word results.

This is great for a user because they aren't expected to know how to use accented tonal marks to find the word they're looking for.

But if the user decided to include an accented letter, then that letter doesn't get changed back to a non-accented character by the regex utility function.

🎬 Subscribe to the channel! -    / @ijemmaonwuzulike  

Timestamps:
0:00 Introduction
0:31 Why Use RegExp?
1:24 Replacing Letters with Regex
2:16 What Does the RegExp Look Like?
3:52 Technical Implementation of Regex pattern
5:16 What are Unicodes and normalization?
7:37 How to contribute

Resources:

Some of the most helpful resources I found to learn (and continue learning) about accent marks in Igbo
https://stackoverflow.com/questions/3...
https://stackoverflow.com/questions/2...
http://www.regular-expressions.info/u...
https://en.wikipedia.org/wiki/Dot_(di...)
http://www.personal.psu.edu/ejp10/sym...

== Let's Connect ==
🐦 Twitter -   / ijemmaohno  

== Who I Am ==
I'm Ijemma, a frontend software engineer currently working in New York City. I make videos on all things JavaScript and, more broadly, frontend web development.

#javascript #webdevelopment #softwareengineer