Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7513873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:19:10+00:00 2026-05-30T00:19:10+00:00

i have requirement to store the regex in flat file and read them.There will

  • 0

i have requirement to store the regex in flat file and read them.There will be 1000 regex (i mean 1000 lines with 3 regex pattern each on one line seperated by a delimeter say #).
And the first regex1 is of type hex and other 2 are integers.

FLAT FILE will have

regex1#regex2#regex3

i have now 2 requirement
1)I want throw an error if the regex are not valid.
This im doing via regcomp function and this basically will check whether it is a proper regex or not(like missing brackets and all).

2)I have one more requirement wherein i need to valid all possible values for the regex which can be derived and throw an error if the operator enters the wrong entry in file.

How can achieve my second goal is my second question

Meaning

say regex1 can be represented in hex but it can be represented in many ways,i knw the length of the regex1,regex2 and regex3.But i want to know whether they are valid regex or not.

basically in short i want to knw is there anything in C regex library which will validate my regex pattern.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T00:19:11+00:00Added an answer on May 30, 2026 at 12:19 am

    I’ve had great luck with pcre. It’s lightweight, simple C code which handles regex parsing very well and it’s also extremely fast.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an requirement of store and retrieve data from isolated storage file.I will
I have a requirement to store the list of services for multiple computers. I
I am using MySQL for my database. I have a requirement to store a
I have a requirement for a program I'm working on to store job numbers
I have a requirement to store user uploaded files to the database (filesystem is
We have a requirement to store 500 measurements per second, coming from several devices.
I have a requirement where I need to store the records at rate of
in iphone i have requirement of store image in cache . but how i
I have a requirement to store all versions of an entity in a easily
I have a requirement to store certain data in an encrypted form in Postgres.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.