Page 1 of 1

I have an Issue with Issues

Posted: Wed Jun 04, 2014 2:58 pm
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?

Re: I have an Issue with Issues

Posted: Wed Jun 04, 2014 3:22 pm
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.

Re: I have an Issue with Issues

Posted: Wed Jun 04, 2014 3:37 pm
by akj
Thank you Demivec

Re: I have an Issue with Issues

Posted: Wed Jun 04, 2014 4:40 pm
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.

Re: I have an Issue with Issues

Posted: Wed Jun 04, 2014 11:18 pm
by Neil
akj wrote: File -> Preferences -> Editor -> Issues
Hi akj,

I don't see this option in my preferences!

Thanks,

Neil

Re: I have an Issue with Issues

Posted: Thu Jun 05, 2014 2:07 am
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?

Re: I have an Issue with Issues

Posted: Thu Jun 05, 2014 3:20 am
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