![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Parsing through a string in a module Topic Summary: Capturing a specific substring Created On: 3-Aug-2005 16:56 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: I'm not able to test this right now but I think what you want is: string findMe = "Table 3\\b" \b matches the beginning or end of a word where a word is [a-zA-Z0-9]+ Edit: I've checked this now - you need a double backslash before the b | |
![]() |
|
I'm looking for a way to find a specific substring contained in a string that's in a module. For example, I have the following substring and string information: Regexp line = regexp findMe // Find all occurances of the substring specified in findMe |
|
![]() |
|
![]() |
|
Change |
|
![]() |
|
![]() |
|
I'm not able to test this right now but I think what you want is:
string findMe = "Table 3\\b" \b matches the beginning or end of a word where a word is [a-zA-Z0-9]+ Edit: I've checked this now - you need a double backslash before the b Edited: 4-Aug-2005 at 08:56 by Paul Worrall |
|
![]() |
|
![]() |
|
You could use the keyword function. This only finds words that are preceeded and followed by non-alphanumeric characters. It only works with buffers.
------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Parsing through a string in a module
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.