O
O
oleghalin2016-03-21 00:42:04
Regular Expressions
oleghalin, 2016-03-21 00:42:04

Iterating over a table, how to find an unclosed quote?

I have a table like

51, "Unknown 1"
52, "Unknown 2"
53, "Unknown 3"
54, "Unknown 4"
55, "Unknown 5"
56, "Unknown 6"

A person worked with a translation and missed one quote somewhere, is it possible to find it programmatically? I thought about searching with notepad or excel regular expressions

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dimonchik, 2016-03-21
@dimonchik2013

"[^"]+"

V
Vladimir Kuts, 2016-03-21
@fox_12

An example using the Linux console and perl.
Quoted balance:
Will display the line number and the line itself, where the quote marks are not balanced.
For example for

51,"Неизвестно 1"
52,"Неизвестно 2"
53,"Неизвестно 3"
54,"Неизвестно 4
55,"Неизвестно 5"
56,"Неизвестно 6"
57,"Неизвестно 7
125,""

will bring out
4  54,"Неизвестно 4

7  57,"Неизвестно 7

O
oleghalin, 2016-03-21
@oleghalin

https://yadi.sk/d/64C5nTIxqMDFE
Whole table

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question