rgo/exuberant-ctags — Issue #1: quotes with single quotes broken current scope
Author: rgo
Created: 2011-12-08 23:25:10+00:00
State: open

In latest commit([a99624d7460e1528b5585ccbb9ba447fe1a2a9c3](https://github.com/rgo/exuberant-ctags/commit/a99624d7460e1528b5585ccbb9ba447fe1a2a9c3)) I don't take into account the kind of quotes which close the string literal then broke the scope with literals with keywords.

Sample code:

```
class Test
def method_one
end

def broker
return "blabla 'blabla do ' blibli"
end

def another_broker
return 'blublublu " blublu if " blublu '
end
end

# !_TAG_FILE_FORMAT	2	/extended format; --format=1 will not append ;" to lines/
# !_TAG_FILE_SORTED	1	/0=unsorted, 1=sorted, 2=foldcase/
# !_TAG_PROGRAM_AUTHOR	Darren Hiebert	/dhiebert@users.sourceforge.net/
# !_TAG_PROGRAM_NAME	Exuberant Ctags	//
# !_TAG_PROGRAM_URL	http://ctags.sourceforge.net	/official site/
# !_TAG_PROGRAM_VERSION	5.9~svn20110310	//
# Test	quotes_single_quotes.rb	/^class Test$/;"	c
# another_broker	quotes_single_quotes.rb	/^ def another_broker$/;"	f	class:Test.broker
# broker	quotes_single_quotes.rb	/^ def broker$/;"	f	class:Test
# method_one	quotes_single_quotes.rb	/^ def method_one$/;"	f	class:Test
```