Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
Permalink
Browse files

Delete adjacent spaces in edition/publisher pattern

Replacing the prefix/suffix adjacent spaces with group and one delimiter space, as described generally in #1301 . Search for this pattern here:

```
<[^/>]*"edition"[^/>]*suffix="[^"/>]* "[^/>]*/?>\s*\r\n\s*<[^/>]*"publisher"[^/>]*prefix=" [^"/>]*"[^/>]*/?>
```
  • Loading branch information
zuphilip committed Jan 1, 2015
1 parent e4c7551 commit a3fea16635d58358c830b6a0beaa7f1dc059ba17
Showing with 223 additions and 117 deletions.
  1. +4 −2 acta-anaesthesiologica-scandinavica.csl
  2. +4 −2 acta-societatis-botanicorum-poloniae.csl
  3. +4 −2 annals-of-neurology.csl
  4. +8 −4 annals-of-oncology.csl
  5. +4 −2 archives-of-physical-medicine-and-rehabilitation.csl
  6. +4 −2 arzneimitteltherapie.csl
  7. +4 −2 aviation-space-and-environmental-medicine.csl
  8. +4 −2 biochemical-society-transactions.csl
  9. +4 −2 brain.csl
  10. +4 −2 chest.csl
  11. +4 −2 circulation.csl
  12. +4 −2 clinical-infectious-diseases.csl
  13. +4 −2 critical-care-medicine.csl
  14. +4 −2 european-journal-of-clinical-microbiology-and-infectious-diseases.csl
  15. +4 −2 european-journal-of-human-genetics.csl
  16. +5 −3 european-journal-of-ophthalmology.csl
  17. +4 −2 experimental-dermatology.csl
  18. +4 −2 fertility-and-sterility.csl
  19. +4 −2 future-science-group.csl
  20. +4 −2 hepatology.csl
  21. +4 −2 hong-kong-journal-of-radiology.csl
  22. +4 −2 hypotheses-in-the-life-sciences.csl
  23. +4 −2 international-journal-of-cancer.csl
  24. +4 −2 journal-of-forensic-sciences.csl
  25. +4 −2 journal-of-orthopaedic-trauma.csl
  26. +2 −2 journal-of-perinatal-medicine.csl
  27. +4 −2 journal-of-shoulder-and-elbow-surgery.csl
  28. +4 −2 journal-of-the-american-society-of-nephrology.csl
  29. +2 −2 karger-journals-author-date.csl
  30. +2 −2 karger-journals.csl
  31. +4 −2 landes-bioscience-journals.csl
  32. +4 −2 liver-international.csl
  33. +5 −3 medicine-and-science-in-sports-and-exercise.csl
  34. +5 −3 molecular-psychiatry-letters.csl
  35. +4 −2 nano-biomedicine-and-engineering.csl
  36. +4 −2 nature-publishing-group-vancouver.csl
  37. +4 −2 neurology-india.csl
  38. +4 −2 pediatric-research.csl
  39. +4 −2 psychiatry-and-clinical-neurosciences.csl
  40. +4 −2 sage-vancouver.csl
  41. +4 −2 scandinavian-journal-of-infectious-diseases.csl
  42. +4 −2 seminars-in-pediatric-neurology.csl
  43. +2 −2 sexual-development.csl
  44. +4 −2 societe-nationale-des-groupements-techniques-veterinaires.csl
  45. +4 −2 strahlentherapie-und-onkologie.csl
  46. +4 −2 stroke.csl
  47. +4 −2 the-american-journal-of-gastroenterology.csl
  48. +4 −2 the-american-journal-of-psychiatry.csl
  49. +4 −2 the-british-journal-of-cardiology.csl
  50. +4 −2 the-new-england-journal-of-medicine.csl
  51. +4 −2 traffic.csl
  52. +4 −2 universite-de-picardie-jules-verne-ufr-de-medecine.csl
  53. +4 −2 vancouver-brackets-only-year-no-issue.csl
  54. +4 −2 vancouver-superscript-brackets-only-year.csl
  55. +4 −2 vancouver-superscript-only-year.csl
  56. +4 −2 world-journal-of-gastroenterology.csl
@@ -121,8 +121,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -114,8 +114,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
<group prefix="(" suffix="). ">
<text variable="collection-title" suffix="; "/>
<text variable="volume" prefix="vol "/>
@@ -122,8 +122,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" " suffix="."/>
<group prefix=" " delimiter=" " suffix=".">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -93,14 +93,18 @@
<text macro="title"/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" suffix=" "/>
<text macro="publisher" prefix=" "/>
<group delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<text macro="editor"/>
<text macro="container-title" suffix=", "/>
<text macro="edition" suffix=". "/>
<text macro="publisher" prefix=" "/>
<group delimiter=" ">
<text macro="edition" suffix="."/>
<text macro="publisher"/>
</group>
</else-if>
<else>
<text macro="container-title" suffix=" "/>
@@ -121,8 +121,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -130,8 +130,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -137,8 +137,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song thesis" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" " suffix="."/>
<group prefix=" " delimiter=" " suffix=".">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -127,8 +127,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -135,8 +135,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -126,8 +126,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -131,8 +131,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -124,8 +124,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song webpage" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -91,8 +91,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -121,8 +121,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -118,8 +118,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -139,9 +139,11 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song thesis" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<text variable="number-of-pages" suffix=" p." prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
<text variable="number-of-pages" suffix=" p."/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -91,8 +91,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" " suffix="."/>
<group prefix=" " suffix="." delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group suffix=". ">
@@ -123,8 +123,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -123,8 +123,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -131,8 +131,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -131,8 +131,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -137,8 +137,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -132,8 +132,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
<text variable="number-of-pages" suffix="p"/>
</if>
<else-if type="chapter paper-conference" match="any">
@@ -121,8 +121,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -127,8 +127,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -137,8 +137,8 @@
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group prefix=". " delimiter=" " suffix=".">
<text macro="edition" suffix=" "/>
<text macro="publisher" prefix=" "/>
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
@@ -131,8 +131,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=". ">
@@ -126,8 +126,10 @@
<text macro="title" suffix=". "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text macro="edition" prefix=" " suffix=" "/>
<text macro="publisher" prefix=" "/>
<group prefix=" " delimiter=" ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group prefix=" " suffix=", ">
@@ -149,8 +149,8 @@
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group prefix=". " delimiter=" " suffix=".">
<text macro="edition" suffix=" "/>
<text macro="publisher" prefix=" "/>
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
@@ -136,8 +136,8 @@
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group prefix=". " delimiter=" " suffix=".">
<text macro="edition" suffix=" "/>
<text macro="publisher" prefix=" "/>
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">

0 comments on commit a3fea16

Please sign in to comment.
You can’t perform that action at this time.