Click here to Skip to main content
15,914,416 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Window Belongs to which exe file Pin
Gary R. Wheeler29-Dec-04 1:22
Gary R. Wheeler29-Dec-04 1:22 
GeneralRe: Window Belongs to which exe file Pin
Member 24341329-Dec-04 17:11
Member 24341329-Dec-04 17:11 
GeneralRe: Window Belongs to which exe file Pin
ThatsAlok29-Dec-04 19:23
ThatsAlok29-Dec-04 19:23 
GeneralAdding Lines to a Dialog box, which has so many button controls Pin
28-Dec-04 18:00
suss28-Dec-04 18:00 
GeneralRe: Adding Lines to a Dialog box, which has so many button controls Pin
pc_dev28-Dec-04 19:15
pc_dev28-Dec-04 19:15 
Generalemulator device in Window Pin
don7cry28-Dec-04 16:56
don7cry28-Dec-04 16:56 
GeneralRe: emulator device in Window Pin
pc_dev28-Dec-04 19:24
pc_dev28-Dec-04 19:24 
GeneralBoost regex (regular expressions) problem Pin
czajnick28-Dec-04 13:56
czajnick28-Dec-04 13:56 
Hello!

This is my first post to this forum and english is not my mother tongue, hope you understand me.

I have the following expression

(?:<b>)?(.+?)(?:</b>)

and the string

<b>test</b>

. I am using regex_search function and the match I get is "<b>test". But the first part of the expression "(?:<b>)?" should be greedy, and the "<b>" at the beginning should not be in the match. Am I right?

How should I write the expression to get "test" without "<b>" as the match?

I want to read a word from a webpage, and this word may be between "<b>" and "</b>", but it doesn't have to. This expression is part of a bigger project (part of a bigger expression).

You can download the source code and exe from here http://www.icpnet.pl/~arekrob/regexp2.rar .

Are there any tools to help writing regular expressions compatible with boost regex library?
GeneralRe: Boost regex (regular expressions) problem Pin
User 665828-Dec-04 14:33
User 665828-Dec-04 14:33 
GeneralRe: Boost regex (regular expressions) problem Pin
czajnick28-Dec-04 22:50
czajnick28-Dec-04 22:50 
GeneralRe: Boost regex (regular expressions) problem Pin
User 665829-Dec-04 1:44
User 665829-Dec-04 1:44 
GeneralRe: Boost regex (regular expressions) problem Pin
Michael Dunn29-Dec-04 6:53
sitebuilderMichael Dunn29-Dec-04 6:53 
GeneralLinking problems when using libraries! Pin
Dani10000128-Dec-04 12:59
Dani10000128-Dec-04 12:59 
GeneralRe: Linking problems when using libraries! Pin
Chris Losinger28-Dec-04 15:07
professionalChris Losinger28-Dec-04 15:07 
GeneralCapture the Fn key on a laptop Pin
sparker6228-Dec-04 9:32
sparker6228-Dec-04 9:32 
GeneralRe: Capture the Fn key on a laptop Pin
User 665828-Dec-04 9:35
User 665828-Dec-04 9:35 
GeneralRe: Capture the Fn key on a laptop Pin
Dani10000128-Dec-04 12:38
Dani10000128-Dec-04 12:38 
GeneralStatus Bar Pin
Anthony988728-Dec-04 8:44
Anthony988728-Dec-04 8:44 
GeneralMulti-column ListBox Pin
Deian28-Dec-04 7:34
Deian28-Dec-04 7:34 
GeneralRe: Multi-column ListBox Pin
David Crow28-Dec-04 10:00
David Crow28-Dec-04 10:00 
GeneralRe: Multi-column ListBox Pin
Deian28-Dec-04 10:15
Deian28-Dec-04 10:15 
GeneralRe: Multi-column ListBox Pin
David Crow28-Dec-04 10:21
David Crow28-Dec-04 10:21 
GeneralRe: Multi-column ListBox Pin
User 665828-Dec-04 10:23
User 665828-Dec-04 10:23 
GeneralRe: Multi-column ListBox Pin
Deian28-Dec-04 10:41
Deian28-Dec-04 10:41 
GeneralRe: Multi-column ListBox Pin
Rick York28-Dec-04 14:33
mveRick York28-Dec-04 14:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.