![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Regexp and Parentheses Topic Summary: Finding single parenthesis with regexp Created On: 21-Oct-2004 13:35 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: replace \( with \\( to make DXL happy with the regexp string. and you may want to use... \(.* ...to match a "(" followed by any number of other characters to the end of the line e.g Regexp rOpenBracket = regexp("\\(.*") | |
![]() |
|
I am trying to create a regular expression that looks for one or more open parentheses, (, or close parentheses, ), but I am having trouble. It seems that "\(*" should be it, but I get a badly formed token. Any thoughts?
------------------------- Jeremy Eble Software Engineer Teragon Consulting LLC jeremy.r.eble@lmco.com |
|
![]() |
|
![]() |
|
replace \( with \\( to make DXL happy with the regexp string.
and you may want to use... \(.* ...to match a "(" followed by any number of other characters to the end of the line e.g Regexp rOpenBracket = regexp("\\(.*") |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Regexp and Parentheses
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.