Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: LesbianThespianGymnasticMidget
I'm not a code person by any means. I do know that the problem occurs when the ‘ and “ are
slanted rather that vertical. Vertical characters post correctly and slanted ones don't. I know
the - is a problem also. This is new to FR but if you look on the web this problem has existed for
a few years now.

I know the smart quote conversion website, dan hersam.com, corrects the problem but
most people don't use it.

77 posted on 02/23/2016 3:07:51 PM PST by deport
[ Post Reply | Private Reply | To 74 | View Replies ]


To: deport

I am certain that site is using regex (Regular Expressions) to parse the text and do the real time fix. It would be easy to mirror their approach and just do it real time while posting. Regex is extremely efficient. It would not slow FR down hardly at all. Milliseconds per post. Regex kicks out assembler level efficiency looking at text. You can check it out yourself. Google Grep and install the software. Try searching your entire hard drive without indexes etc and compare it to Windows or Mac searches. It is BLAZINGLY fast. (Grep uses regex)


78 posted on 02/23/2016 3:25:09 PM PST by LesbianThespianGymnasticMidget (God punishes Conservatives by making them argue with fools. Go Trump!)
[ Post Reply | Private Reply | To 77 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson