Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка в скрипте "02_Генеральная уборка.js" #197

Closed
GoogleCodeExporter opened this issue Nov 16, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

Какие шаги приводят к проблеме?
1. открыть новый документ.
2. скопировать любой текст, содержащий 
цифры + заглавная английская C. Например: 50 
Coins
3. применить скрипт

Что должно произойти? Что реально 
происходит?
По идее ничего не должно произойти, но в 
реальности эта фраза заменяется на: 5 °Coins

Ошибка в обработке:
 var re67 = new RegExp("(\\\d)(\\\s|"+nbspEntity+"){0,1}[oо0°](\\\s){0,1}[CС]([^A-zА-яЁё]){0,1}","g");

Работающий вариант:
 var re67 = new RegExp("(\\\d)(\\\s|"+nbspEntity+"){0,1}[oо°](\\\s){0,1}[CС]([^A-zА-яЁё]){0,1}","g");

FBE 2.6.6, WinXP, Win7

Original issue reported on code.google.com by ivari...@gmail.com on 12 Feb 2013 at 6:58

@evpobr
Copy link
Owner

evpobr commented Jan 15, 2016

Confirmed, need to be fixed

@evpobr evpobr added this to the v2.6.12 milestone Jul 26, 2017
evpobr added a commit that referenced this issue Jul 26, 2017
@evpobr evpobr closed this as completed in 786a7da Jul 26, 2017
@alzhur
Copy link

alzhur commented Jun 3, 2018

Fast fix not working, error "re67 not declared", looks like typo:
Currently in repo and installed v2.6.13:
var re67_ = new RegExp("(\\\d)(\\\s|"+nbspEntity+"){0,1}[oо°](\\\s){0,1}[CС]([^A-zА-яЁё]){0,1}","g");
Should be:
var re67 = new RegExp("(\\\d)(\\\s|"+nbspEntity+"){0,1}[oо°](\\\s){0,1}[CС]([^A-zА-яЁё]){0,1}","g");

cobra838 added a commit to cobra838/fictionbookeditor that referenced this issue Oct 30, 2020
Описание ошибки на другом форке FBE: evpobr/fictionbookeditor#197
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants