This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
public:costep:rules [2014-11-04 10:53] – created Johannes Graën | public:costep:rules [2023-09-15 20:33] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Replacment rules ====== | ||
+ | |||
+ | ===== Global ===== | ||
+ | |||
+ | ==== First run ==== | ||
+ | |||
+ | /\xad/u -> "" | ||
+ | /\xa0/u -> " " | ||
+ | /–/ -> " | ||
+ | /&# | ||
+ | /&# | ||
+ | /&/ -> "&" | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | /\((\w+)$/ -> " | ||
+ | /< | ||
+ | / | ||
+ | /\(\)/ -> "" | ||
+ | /\($/ -> "" | ||
+ | /^<$/ -> "" | ||
+ | /(\d+º)/ -> "< | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / ,/ -> ',' | ||
+ | / | ||
+ | /\s\s+/ -> ' ' | ||
+ | |||
+ | |||
+ | ==== Second run ==== | ||
+ | |||
+ | /" ? | ||
+ | /« ?([^»]+?) ?»/u -> "< | ||
+ | / | ||
+ | /< | ||
+ | / | ||
+ | /^\)\s+/ -> "" | ||
+ | /&/ -> "& | ||
+ | /,,+/ -> "," | ||
+ | |||
+ | |||
+ | ===== Local (language specific) ===== | ||
+ | |||
+ | ==== First run ==== | ||
+ | |||
+ | === Danish === | ||
+ | / | ||
+ | |||
+ | === German === | ||
+ | / | ||
+ | /(?:,,)([\w ]+)"/u -> "< | ||
+ | |||
+ | === English === | ||
+ | /\' ?s\b/u -> "< | ||
+ | / | ||
+ | | ||
+ | === Spanish === | ||
+ | / -(?=\w)/u -> " —" | ||
+ | / | ||
+ | |||
+ | === Greek === | ||
+ | /\' \b/u -> "’ " | ||
+ | |||
+ | === Finish === | ||
+ | / | ||
+ | | ||
+ | === French === | ||
+ | / | ||
+ | / | ||
+ | |||
+ | === Italian === | ||
+ | / | ||
+ | / | ||
+ | /\bpò\b/u -> " | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | /\bpero\b/u -> " | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | |||
+ | === Portuguese === | ||
+ | / | ||
+ | | ||
+ | === Swedish === | ||
+ | / | ||
+ | |||
+ | |||
+ | ==== Second run ==== | ||
+ | |||
+ | === Bulgarian === | ||
+ | /< | ||
+ | |||
+ | === Czech === | ||
+ | /< | ||
+ | |||
+ | === Danish === | ||
+ | /< | ||
+ | |||
+ | === German === | ||
+ | /< | ||
+ | /< | ||
+ | |||
+ | === Greek === | ||
+ | /< | ||
+ | |||
+ | === English === | ||
+ | /< | ||
+ | |||
+ | === Spanish === | ||
+ | /< | ||
+ | |||
+ | === Estonian === | ||
+ | /< | ||
+ | |||
+ | === Finnish === | ||
+ | /< | ||
+ | |||
+ | === French === | ||
+ | /(?<! |& | ||
+ | /< | ||
+ | |||
+ | === Hungarian === | ||
+ | /< | ||
+ | |||
+ | === Italian === | ||
+ | /< | ||
+ | |||
+ | === Lithuanian === | ||
+ | /< | ||
+ | |||
+ | === Latvian === | ||
+ | /< | ||
+ | |||
+ | === Dutch === | ||
+ | /< | ||
+ | |||
+ | === Polish === | ||
+ | /< | ||
+ | |||
+ | === Portuguese === | ||
+ | /< | ||
+ | |||
+ | === Romanian === | ||
+ | /< | ||
+ | |||
+ | === Slovak === | ||
+ | /< | ||
+ | |||
+ | === Slovenian === | ||
+ | /< | ||
+ | |||
+ | === Swedish === | ||
+ | /< | ||