[Geany-Users] Help with Regular Expression

Frank Lanitz frank at xxxxx
Sat Apr 3 08:58:43 UTC 2021


On 02.04.21 15:21, John Beatty via Users wrote:
> Hi
> 
> Using Geany as an IDE for assembly language programming with AVRA, an 
> assembler for Atmel chips. Error messages take the form:
> 
> .../projects/SCADA_1/scada_2(414) : Error : Unknown mnemonic:  bloggs
> 
> I need a regex to match the two groups 'scada_2' and '414' so that Geany 
> can go to the source line with one click. Regex's are a nightmare to 
> learn from scratch, so I'm hoping for a bit of help.

Untestested -- I'd start with something like:

.*/(.*)/\((\d+)\)

.f

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://lists.geany.org/pipermail/users/attachments/20210403/52e2da6f/attachment.sig>


More information about the Users mailing list