paulewog / language-nasl

MIT License
1 stars 2 forks source link

Syntax Highlight Errors #1

Open jamccormack opened 5 years ago

jamccormack commented 5 years ago

When editing published compliance audit policies there are errors. https://www.tenable.com/downloads/cis-compliance-audit-policies

Using CIS_Ubuntu_16.04_LTS_Server_v1.1.0_L1.audit as an example. Look at the following lines: 693 1348 1794 1806 1818 1830 1842 1854

jamccormack commented 5 years ago

The issue is the way nested quotations are being handled For the expect (keyword) string. expect : "^[\\s]*dpkg-query: package \'openbsd-inetd\' is not installed and no information is available[\\s]*"