fossology/Nirjas

Comment terminates on special character

Aman-Codes opened this issue · 8 comments

Description

Nirjas terminates the comment on occurrence of any special character out of !$%&{}~`"'| for all languages

How to Test

Create a c file and add a single line comment which contains any special character out of !$%&{}~`"'|

How to Resolve

Changing regex from (\/\/\s*[\w #\.()@+-_*\d]*) to (\/\/\s*[\w #\.()@!-~*\d]*)

I am currently working on it. I changed the regex from list of acceptable characters to a simple .*

Will have to test if it fails somewhere.

I am currently working on it. I changed the regex from list of acceptable characters to a simple .*

Sounds good

May i work on this issue I'm a newbie nd want to explore how open source community works nd want to implement my learning skiils

Thanks for your interest @codeakki but #28 already solves it.

@GMishx sir is thier is anything where i start my contribution in these project or organisation for ne

Hi @codeakki, You can start with these:

[Good first issues in FOSSology]

[Open issues in Atarashi]

Currently Nirjas has no unattended issues open but you can explore the project to find some.

Thanks for the inputs @hastagAB . I have just created another issue fossology/atarashi#77 and would like to add it to your list.