[wp-trac] [WordPress Trac] #40759: Word Count Discrepancies

WordPress Trac noreply at wordpress.org
Mon May 15 08:02:07 UTC 2017


#40759: Word Count Discrepancies
--------------------------+------------------------------
 Reporter:  pento         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  administration
--------------------------+------------------------------

Comment (by iseulde):

 #30966 was a big change in word count, but it looks like we did not
 discuss or change counting numbers. I'm fine with counting numbers. To
 change it, split `\u0021-\u0040` into `\u0021-\u002F` and `\u003A-\u0040`.

 We only have word count and character count which is a setting that can be
 localised. I the case of numbers, it doesn't make a difference for
 character count as all characters are counted.

 For the other issues:

 * It looks like `foo-bar` is right.
 * `e.g.`: Try to move `.` to `connectorRegExp`, which will be replaced
 with spaces? Sounds right to me. Maybe more characters need to move here.
 Any counter examples? One in your examples: `fuzz at baz.blog`.
 * I have no strong opinion on `&`.
 * I'm not sure about `@`, which comes closer to symbols like `%` and `+`.
 These also translate to a word?
 * Standalone `.`: looks right to me.
 * `$4.99`: Would be solved with including numbers.
 * `fuzz at baz.blog`: Also looks right to me.

 Try URLs. 😉

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40759#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list