Hi,
I'm trying to select the Python comment (one line)
Bur the one-liner # that seem easier , is not ! I've dig the WWW , but the majority of the example contains bugs !!
It's so weird as for example the coloration done by Vscodium can catch where is the comment (and the Python parser too)
![[Image: GtAi7go.jpeg]](https://i.imgur.com/GtAi7go.jpeg)
Any ideas or where to look ?
BTW other solution that RegEx are welcome too.
Thanks.
I'm trying to select the Python comment (one line)
#comment exampleI'm trying with the so call "Regular Expression" RegEx But so far I only managed to catch only the multi line """ or '''
Bur the one-liner # that seem easier , is not ! I've dig the WWW , but the majority of the example contains bugs !!
It's so weird as for example the coloration done by Vscodium can catch where is the comment (and the Python parser too)
![[Image: GtAi7go.jpeg]](https://i.imgur.com/GtAi7go.jpeg)
Any ideas or where to look ?
BTW other solution that RegEx are welcome too.
Thanks.
