Overview
Features
Download
Documentation
Community
Add-Ons & Services

using POCO::RegularExpression?

Please post support and help requests here.

using POCO::RegularExpression?

Postby dandan607 » 22 Jun 2012, 05:14

I just begin to learn POCO library,and face a simple question.I need an answer,Thank you very much.

How can I find out the word such as "SQUARE_RED_1" that contains the word "SQUARE" using POCO::RegularExpression?
dandan607
 
Posts: 3
Joined: 12 Jun 2012, 10:29

Re: using POCO::RegularExpression?

Postby pasorobo » 23 Jun 2012, 14:30

dandan607 wrote:I just begin to learn POCO library,and face a simple question.I need an answer,Thank you very much.

How can I find out the word such as "SQUARE_RED_1" that contains the word "SQUARE" using POCO::RegularExpression?



Check Foundation's sample "grep" please.

If you need even simpler example usages, check RegularExpression's testcases.

Jiang
pasorobo
 
Posts: 5
Joined: 01 Jun 2012, 19:24

Re: using POCO::RegularExpression?

Postby alex » 23 Jun 2012, 17:53

dandan607 wrote:How can I find out the word such as "SQUARE_RED_1" that contains the word "SQUARE" using POCO::RegularExpression?

You have a problem. You choose to use regular expressions to solve it. Now you have two problems :).

Jiang gave you good pointers above. Your problem is not POCO-related; you should start by learning how regexp works.
alex
 
Posts: 1101
Joined: 11 Jul 2006, 16:27
Location: United_States


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron