Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about re2

Read more about re2

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - re2

Trying to convert plural words to singular words using regex but want to ignore a few words

I am currently trying to replace some of the plural words like removing "s" from "birds" and replacing it as "bird" in bigquery but I want them to ignore a few words like...
test-img

Kishan Kumar

regex

google-bigquery

stemming

re2

Votes: 0

Answers: 1

Latest Answer

You can use an alternation here, a regex with two alternatives. In the first alternative, you can capture all the words that are exceptions, into Group 1, and in the second one, use your regex. The re...
test-img

Wiktor Stribiżew

Why is std::regex notoriously much slower than other regular expression libraries?

This Github repository added std::regex to the list of regular expression engines and got decimated by the others. Why is that std::regex - as implemented in libstdc++ - so much slower than others? Is...
test-img

user8143588

c++

regex

benchmarking

libstdc++

re2

Votes: 0

Answers: 1

Latest Answer

Is that because of the C++ standard requirements or it is just that that particular implementation is not very well optimized? The answer is yes. Kinda. There is no question that libstdc++'s impleme...
test-img

Nicol Bolas

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved