I have an Issue with Issues

Just starting out? Need help? Post your questions and find answers here.
akj
Enthusiast
Enthusiast
Posts: 668
Joined: Mon Jun 09, 2003 10:08 pm
Location: Nottingham

I have an Issue with Issues

Post by akj »

Ever since I started using PureBasic (June 2003) I have been using !!! (three consecutive exclamation marks) within comments to flag issues requiring my attention.
In File -> Preferences -> Editor -> Issues I have tried to create a new issue marker to reflect this, but regular expressions of \b!!!\b.* and \b\!\!\!\b.* do not match !!! so can anyone please tell me the correct RE to use?
Anthony Jordan
User avatar
Demivec
Addict
Addict
Posts: 4277
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: I have an Issue with Issues

Post by Demivec »

I haven't been able to use word boundaries as part of the setup but have gotten it to work with just the '!!!' part using:

Code: Select all

(?<=\Q!!!\E).*
Some other suggested patterns are listed here.
akj
Enthusiast
Enthusiast
Posts: 668
Joined: Mon Jun 09, 2003 10:08 pm
Location: Nottingham

Re: I have an Issue with Issues

Post by akj »

Thank you Demivec
Anthony Jordan
User avatar
Tenaja
Addict
Addict
Posts: 1959
Joined: Tue Nov 09, 2010 10:15 pm

Re: I have an Issue with Issues

Post by Tenaja »

Demivec wrote:I haven't been able to use word boundaries as part of the setup
This is likely because ! is not a word character. If you want to force !!!, and ignore !!!!, you can insert a start of string, whitespaces as needed. You can also insert a not ! if you want.
Neil
Enthusiast
Enthusiast
Posts: 198
Joined: Wed Feb 29, 2012 8:04 am
Location: Melbourne, AUS

Re: I have an Issue with Issues

Post by Neil »

akj wrote: File -> Preferences -> Editor -> Issues
Hi akj,

I don't see this option in my preferences!

Thanks,

Neil
User avatar
Tenaja
Addict
Addict
Posts: 1959
Joined: Tue Nov 09, 2010 10:15 pm

Re: I have an Issue with Issues

Post by Tenaja »

Neil wrote:
akj wrote: File -> Preferences -> Editor -> Issues
I don't see this option in my preferences!l
Are you using the new 5.3 beta?
Neil
Enthusiast
Enthusiast
Posts: 198
Joined: Wed Feb 29, 2012 8:04 am
Location: Melbourne, AUS

Re: I have an Issue with Issues

Post by Neil »

Tenaja wrote:Are you using the new 5.3 beta?
Oops !!

I read the part of the first post where akj said he had been using PB since 2003 and assumed that he had been using this feature.

Thanks for clarifying
Post Reply